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