diff options
Diffstat (limited to 'gm/coloremoji.cpp')
-rw-r--r-- | gm/coloremoji.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gm/coloremoji.cpp b/gm/coloremoji.cpp index 39c70bd707..cf4500819a 100644 --- a/gm/coloremoji.cpp +++ b/gm/coloremoji.cpp @@ -6,6 +6,8 @@ */ #include "gm.h" + +#include "Resources.h" #include "SkCanvas.h" #include "SkStream.h" #include "SkTypeface.h" @@ -27,8 +29,7 @@ protected: } virtual void onOnceBeforeDraw() SK_OVERRIDE { - - SkString filename(INHERITED::gResourcePath); + SkString filename = GetResourcePath(); filename.append("/Funkster.ttf"); SkAutoTUnref<SkFILEStream> stream(new SkFILEStream(filename.c_str())); |