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

Unified Diff: bench/nanobench.cpp

Issue 657373002: Make nanobench and dm be usable from Chromium build (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: try with dm.cpp being DM.cpp Created 6 years, 1 month 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
« no previous file with comments | « bench/nanobench.h ('k') | bench/nanobench_main.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/nanobench.cpp
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 1f5ae60f822ab9d28b84c37b37465398544616b5..baa109ede74d344e9728ab7089a1b2e07401317b 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -572,9 +572,7 @@ private:
int fCurrentSKP;
};
-int nanobench_main();
int nanobench_main() {
- SetupCrashHandler();
SkAutoGraphics ag;
#if SK_SUPPORT_GPU
@@ -752,9 +750,3 @@ int nanobench_main() {
return 0;
}
-#if !defined SK_BUILD_FOR_IOS
-int main(int argc, char** argv) {
- SkCommandLineFlags::Parse(argc, argv);
- return nanobench_main();
-}
-#endif
« no previous file with comments | « bench/nanobench.h ('k') | bench/nanobench_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698