Index: bench/SkBenchmark.cpp |
diff --git a/bench/SkBenchmark.cpp b/bench/SkBenchmark.cpp |
index d1f0639e062436a9c8ad72c0cfd85e779d6ec8e9..4c5d077b532ff1076a03eb1473667c9e0144c60b 100644 |
--- a/bench/SkBenchmark.cpp |
+++ b/bench/SkBenchmark.cpp |
@@ -4,7 +4,9 @@ |
* Use of this source code is governed by a BSD-style license that can be |
* found in the LICENSE file. |
*/ |
+ |
#include "SkBenchmark.h" |
+ |
#include "SkPaint.h" |
#include "SkParse.h" |
@@ -12,8 +14,6 @@ const char* SkTriState::Name[] = { "default", "true", "false" }; |
template BenchRegistry* BenchRegistry::gHead; |
-const char* SkBenchmark::gResourcePath; |
- |
SkBenchmark::SkBenchmark() { |
fForceAlpha = 0xFF; |
fForceAA = true; |
@@ -51,16 +51,6 @@ void SkBenchmark::setupPaint(SkPaint* paint) { |
} |
} |
-void SkBenchmark::SetResourcePath(const char* resourcePath) { |
- gResourcePath = resourcePath; |
-} |
- |
-SkString SkBenchmark::GetResourcePath() { |
- return SkString(gResourcePath); |
-} |
- |
-/////////////////////////////////////////////////////////////////////////////// |
- |
SkIPoint SkBenchmark::onGetSize() { |
return SkIPoint::Make(640, 480); |
} |