Index: bench/ETCBitmapBench.cpp |
diff --git a/bench/ETCBitmapBench.cpp b/bench/ETCBitmapBench.cpp |
index 4b9cd6ea939dd783ef1c6ca2df2d378825a94d5f..e9aee76a4aab7944f2af95a294643e3d6133097c 100644 |
--- a/bench/ETCBitmapBench.cpp |
+++ b/bench/ETCBitmapBench.cpp |
@@ -89,8 +89,9 @@ protected: |
private: |
SkData *loadPKM() { |
- SkString filename = SkOSPath::SkPathJoin( |
- INHERITED::GetResourcePath().c_str(), "mandrill_128.pkm"); |
+ SkString resourcePath = GetResourcePath(); |
+ SkString filename = SkOSPath::SkPathJoin(resourcePath.c_str(), |
+ "mandrill_128.pkm"); |
// Expand the data |
SkAutoDataUnref fileData(SkData::NewFromFileName(filename.c_str())); |