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

Unified Diff: gm/circularclips.cpp

Issue 953383002: fuzzer fixes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix up width and height in initializer Created 5 years, 10 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 | « gm/bitmapshader.cpp ('k') | gm/complexclip2.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 ec766fbca4b0d28a3417cfb6bd622cb6647e7487..614ebb60973a2c5e1c67d362fb3d3f650221a878 100644
--- a/gm/circularclips.cpp
+++ b/gm/circularclips.cpp
@@ -13,8 +13,8 @@ class CircularClipsGM : public skiagm::GM {
SkScalar fX1, fX2, fY, fR;
SkPath fCircle1, fCircle2;
-public:
- CircularClipsGM() {
+protected:
+ void onOnceBeforeDraw() SK_OVERRIDE {
fX1 = 80;
fX2 = 120;
fY = 50;
@@ -24,7 +24,6 @@ public:
fCircle2.addCircle(fX2, fY, fR, SkPath::kCW_Direction);
}
-protected:
bool runAsBench() const SK_OVERRIDE { return true; }
« no previous file with comments | « gm/bitmapshader.cpp ('k') | gm/complexclip2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698