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

Unified Diff: gm/circularclips.cpp

Issue 873753002: Spin off GM::runAsBench() from flags. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « bench/nanobench.cpp ('k') | gm/convexpolyclip.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/circularclips.cpp
diff --git a/gm/circularclips.cpp b/gm/circularclips.cpp
index 6a8415c67ec445990e6de88ebded26b861fbd8e3..69e8b69a8f23a78f733c5511f73f8b70996a974b 100644
--- a/gm/circularclips.cpp
+++ b/gm/circularclips.cpp
@@ -26,9 +26,11 @@ public:
protected:
uint32_t onGetFlags() const SK_OVERRIDE {
- return kSkipTiled_Flag | kAsBench_Flag;
+ return kSkipTiled_Flag;
}
+ bool runAsBench() const SK_OVERRIDE { return true; }
+
SkString onShortName() SK_OVERRIDE {
return SkString("circular-clips");
}
« no previous file with comments | « bench/nanobench.cpp ('k') | gm/convexpolyclip.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698