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

Unified Diff: cc/resources/clip_display_item.cc

Issue 771563003: use SkClipOps where we can, legacyClip where we need to rework Base URL: https://chromium.googlesource.com/chromium/src.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 | « cc/output/software_renderer.cc ('k') | cc/resources/content_layer_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/clip_display_item.cc
diff --git a/cc/resources/clip_display_item.cc b/cc/resources/clip_display_item.cc
index 731c6059122df0930ce340ad894ad464a5242175..1a0ffcb3ea77f00578018f7add22ec507c21fcdb 100644
--- a/cc/resources/clip_display_item.cc
+++ b/cc/resources/clip_display_item.cc
@@ -26,7 +26,7 @@ void ClipDisplayItem::Raster(SkCanvas* canvas,
canvas->clipRect(rounded_clip_rects_[i].rect());
} else {
bool antialiased = true;
- canvas->clipRRect(rounded_clip_rects_[i], SkRegion::kIntersect_Op,
+ canvas->clipRRect(rounded_clip_rects_[i], kIntersect_SkClipOp,
antialiased);
}
}
« no previous file with comments | « cc/output/software_renderer.cc ('k') | cc/resources/content_layer_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698