Index: bench/benchmain.cpp |
diff --git a/bench/benchmain.cpp b/bench/benchmain.cpp |
index af708782822186e6516efa94665d9ebf04fa5607..4b6a72111f3b80ff0f9e0e8f943440193d99dae8 100644 |
--- a/bench/benchmain.cpp |
+++ b/bench/benchmain.cpp |
@@ -254,7 +254,6 @@ DEFINE_double(error, 0.01, |
"Ratio of subsequent bench measurements must drop within 1±error to converge."); |
DEFINE_string(timeFormat, "%9.2f", "Format to print results, in milliseconds per 1000 loops."); |
DEFINE_bool2(verbose, v, false, "Print more."); |
-DEFINE_string2(resourcePath, i, "resources", "directory for test resources."); |
#ifdef SK_BUILD_JSON_WRITER |
DEFINE_string(outResultsFile, "", "If given, the results will be written to the file in JSON format."); |
#endif |
@@ -349,10 +348,6 @@ int tool_main(int argc, char** argv) { |
} |
} |
} |
- // Set the resource path. |
- if (!FLAGS_resourcePath.isEmpty()) { |
- SkBenchmark::SetResourcePath(FLAGS_resourcePath[0]); |
- } |
#if SK_SUPPORT_GPU |
for (int i = 0; i < configs.count(); ++i) { |