diff options
author | deanm@chromium.org <deanm@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-06-11 12:26:47 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-06-11 12:26:47 +0000 |
commit | 1220e1c28a6fb75817eec056fc307190d50ae8e6 (patch) | |
tree | 2ec1fb398375506a4e14b360cd5461415ab68127 /src/animator | |
parent | 00dae86f5872b60927b28a32b375bc01cd7c61c9 (diff) |
Some Linux / 64-bit compile fixes.
Review URL: http://codereview.appspot.com/63189
git-svn-id: http://skia.googlecode.com/svn/trunk@209 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/animator')
-rw-r--r-- | src/animator/SkPaintParts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animator/SkPaintParts.h b/src/animator/SkPaintParts.h index a8bb8bdb0e..c8c978fe71 100644 --- a/src/animator/SkPaintParts.h +++ b/src/animator/SkPaintParts.h @@ -73,7 +73,7 @@ class SkDrawTypeface : public SkPaintPart { virtual void dump(SkAnimateMaker *); #endif SkTypeface* getTypeface() { - return SkTypeface::Create(fontName.c_str(), style); } + return SkTypeface::CreateFromName(fontName.c_str(), style); } protected: virtual bool add(); SkString fontName; |