Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: dm/DM.cpp

Issue 346453002: Refactor how we handle resources path in Tests. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: REBASE Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 87555984bc581d43caa74a95d7ead4065fc7d5d5..80a22819813683c3b07ef736b81bb824d02ae853 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -230,9 +230,6 @@ int tool_main(int argc, char** argv) {
#if SK_ENABLE_INST_COUNT
gPrintInstCount = FLAGS_leaks;
#endif
- GM::SetResourcePath(FLAGS_resources[0]);
- SkBenchmark::SetResourcePath(FLAGS_resources[0]);
- Test::SetResourcePath(FLAGS_resources[0]);
SkTArray<SkString> configs;
for (int i = 0; i < FLAGS_config.count(); i++) {
« no previous file with comments | « bench/benchmain.cpp ('k') | experimental/webtry/webtry » ('j') | gm/cmykjpeg.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698