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

Unified Diff: gm/bigblurs.cpp

Issue 2357333002: allow clip calls w/o op param, remove unnecessary kReplace ops (Closed)
Patch Set: Created 4 years, 3 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/aaclip.cpp ('k') | gm/circularclips.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/bigblurs.cpp
diff --git a/gm/bigblurs.cpp b/gm/bigblurs.cpp
index ee5ccd1345e2ac355bf09ccf22fa40fdcc9afb77..0acd190972c3c25bcdd57cfc73d224fe0c4e0fc2 100644
--- a/gm/bigblurs.cpp
+++ b/gm/bigblurs.cpp
@@ -80,7 +80,7 @@ protected:
SkIntToScalar(kCloseUpSize),
SkIntToScalar(kCloseUpSize));
- canvas->clipRect(clipRect, SkCanvas::kReplace_Op, false);
+ canvas->clipRect(clipRect);
canvas->translate(desiredX-origins[k].fX,
desiredY-origins[k].fY);
« no previous file with comments | « gm/aaclip.cpp ('k') | gm/circularclips.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698