Index: gm/coloremoji.cpp |
diff --git a/gm/coloremoji.cpp b/gm/coloremoji.cpp |
index cf4500819a45233ecbe9bea8f3ebe6786b599402..7fe54f515ff6af5ae460e7f83ca66e59c7298361 100644 |
--- a/gm/coloremoji.cpp |
+++ b/gm/coloremoji.cpp |
@@ -29,9 +29,7 @@ protected: |
} |
virtual void onOnceBeforeDraw() SK_OVERRIDE { |
- SkString filename = GetResourcePath(); |
- filename.append("/Funkster.ttf"); |
- |
+ SkString filename = GetResourcePath("/Funkster.ttf"); |
SkAutoTUnref<SkFILEStream> stream(new SkFILEStream(filename.c_str())); |
if (!stream->isValid()) { |
SkDebugf("Could not find Funkster.ttf, please set --resourcePath correctly.\n"); |