Chromium Code Reviews| Index: gm/coloremoji.cpp |
| diff --git a/gm/coloremoji.cpp b/gm/coloremoji.cpp |
| index 39c70bd70767a7047b32af1aa13d29d9553f215c..cf4500819a45233ecbe9bea8f3ebe6786b599402 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())); |