Index: gm/filterbitmap.cpp |
diff --git a/gm/filterbitmap.cpp b/gm/filterbitmap.cpp |
index d73318d31c233d4d23bbb1dedcf0d4fb110cf665..0d4b4b4a4b9b7e4b0068d4c78d1acb2e03bd9c7a 100644 |
--- a/gm/filterbitmap.cpp |
+++ b/gm/filterbitmap.cpp |
@@ -194,11 +194,8 @@ class FilterBitmapImageGM: public FilterBitmapGM { |
} |
void makeBitmap() SK_OVERRIDE { |
- SkString resourcePath = GetResourcePath(); |
- resourcePath.append("/"); |
- resourcePath.append(fFilename); |
- |
SkImageDecoder* codec = NULL; |
+ SkString resourcePath = GetResourcePath(fFilename.c_str()); |
SkFILEStream stream(resourcePath.c_str()); |
if (stream.isValid()) { |
codec = SkImageDecoder::Factory(&stream); |