Index: gm/copyTo4444.cpp |
diff --git a/gm/copyTo4444.cpp b/gm/copyTo4444.cpp |
index 7e2c2798e450154700ee7e828e584b2ffd7c72d9..6233301fed2ecbd2000bfa5ae59ce762205f6c22 100644 |
--- a/gm/copyTo4444.cpp |
+++ b/gm/copyTo4444.cpp |
@@ -30,8 +30,7 @@ protected: |
virtual void onDraw(SkCanvas* canvas) { |
SkBitmap bm, bm4444; |
- SkString filename = SkOSPath::SkPathJoin( |
- INHERITED::gResourcePath.c_str(), "mandrill_512.png"); |
+ SkString filename = SkOSPath::SkPathJoin(INHERITED::gResourcePath, "mandrill_512.png"); |
if (!SkImageDecoder::DecodeFile(filename.c_str(), &bm, |
SkBitmap::kARGB_8888_Config, |
SkImageDecoder::kDecodePixels_Mode)) { |