From 1220e1c28a6fb75817eec056fc307190d50ae8e6 Mon Sep 17 00:00:00 2001 From: "deanm@chromium.org" Date: Thu, 11 Jun 2009 12:26:47 +0000 Subject: 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 --- src/animator/SkPaintParts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/animator') 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; -- cgit v1.2.3