Index: gm/factory.cpp |
diff --git a/gm/factory.cpp b/gm/factory.cpp |
index bd79c9d81e5188ab7d9ac0b02bfe686d37f4507d..aa643a2c5b00dc4d740cc97410cec0f295d6dc2c 100644 |
--- a/gm/factory.cpp |
+++ b/gm/factory.cpp |
@@ -28,8 +28,7 @@ public: |
protected: |
virtual void onOnceBeforeDraw() SK_OVERRIDE { |
// Copyright-free file from http://openclipart.org/detail/29213/paper-plane-by-ddoo |
- SkString filename = SkOSPath::SkPathJoin(INHERITED::gResourcePath.c_str(), |
- "plane.png"); |
+ SkString filename = SkOSPath::SkPathJoin(INHERITED::gResourcePath, "plane.png"); |
SkAutoDataUnref data(SkData::NewFromFileName(filename.c_str())); |
if (NULL != data.get()) { |
// Create a cache which will boot the pixels out anytime the |