| Index: bench/SkBenchmark.h
|
| diff --git a/bench/SkBenchmark.h b/bench/SkBenchmark.h
|
| index 00a816cdba76ca08316b378976023e0adf582662..bf28689236593b81cf450f29ff88fc197adc7c59 100644
|
| --- a/bench/SkBenchmark.h
|
| +++ b/bench/SkBenchmark.h
|
| @@ -107,8 +107,9 @@
|
| fClearMask = clearMask;
|
| }
|
|
|
| - static void SetResourcePath(const char*);
|
| - static SkString GetResourcePath();
|
| + static void SetResourcePath(const char* resPath) { gResourcePath.set(resPath); }
|
| +
|
| + static SkString& GetResourcePath() { return gResourcePath; }
|
|
|
| protected:
|
| virtual void setupPaint(SkPaint* paint);
|
| @@ -128,7 +129,7 @@
|
| bool fForceFilter;
|
| SkTriState::State fDither;
|
| uint32_t fOrMask, fClearMask;
|
| - static const char* gResourcePath;
|
| + static SkString gResourcePath;
|
|
|
| typedef SkRefCnt INHERITED;
|
| };
|
|
|