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

Unified Diff: gm/skbug1719.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/simpleaaclip.cpp ('k') | gyp/skia_for_android_framework_defines.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/skbug1719.cpp
diff --git a/gm/skbug1719.cpp b/gm/skbug1719.cpp
index a57596ee3da517498e88166b1d974938765ba26c..15e217c0be90ba1c85fd3e0cc664da5353a1d1c0 100644
--- a/gm/skbug1719.cpp
+++ b/gm/skbug1719.cpp
@@ -86,7 +86,7 @@ protected:
paint.setColorFilter(
SkColorFilter::CreateModeFilter(0xBFFFFFFF, SkXfermode::kSrcIn_Mode))->unref();
- canvas->clipPath(clipPath, SkRegion::kIntersect_Op, true);
+ canvas->clipPath(clipPath, kIntersect_SkClipOp, true);
canvas->drawPath(drawPath, paint);
}
« no previous file with comments | « gm/simpleaaclip.cpp ('k') | gyp/skia_for_android_framework_defines.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698