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

Unified Diff: gm/bigblurs.cpp

Issue 777643003: use ClipOp instead of SkRegion for clipping (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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 105bd452d937bb061cb4c3503b55dca55cf565a2..2c026351cf4b8c3bb9166e54c62338b2e5be8cf9 100644
--- a/gm/bigblurs.cpp
+++ b/gm/bigblurs.cpp
@@ -81,7 +81,7 @@ protected:
SkIntToScalar(kCloseUpSize),
SkIntToScalar(kCloseUpSize));
- canvas->clipRect(clipRect, SkRegion::kReplace_Op, false);
+ canvas->legacyClipRect(clipRect, SkRegion::kReplace_Op, false);
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