| Index: gm/filterindiabox.cpp
|
| diff --git a/gm/filterindiabox.cpp b/gm/filterindiabox.cpp
|
| index 1987c95bf781d7caacc226625e7791a0fd5a2d5d..c3316b4ea27cbacd8c2cc3c0b809c2fde7d06621 100644
|
| --- a/gm/filterindiabox.cpp
|
| +++ b/gm/filterindiabox.cpp
|
| @@ -104,11 +104,8 @@ protected:
|
| }
|
|
|
| void makeBitmap() {
|
| - 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);
|
|
|