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

Unified Diff: cc/resources/display_list_raster_source.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/resources/content_layer_updater.cc ('k') | cc/resources/picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/display_list_raster_source.cc
diff --git a/cc/resources/display_list_raster_source.cc b/cc/resources/display_list_raster_source.cc
index f3ff8167acfa7408527d1de161f46cf3e9c60a65..20479a0494e8e9e0ad6a471e05fbd6095eeb7f1c 100644
--- a/cc/resources/display_list_raster_source.cc
+++ b/cc/resources/display_list_raster_source.cc
@@ -99,7 +99,7 @@ void DisplayListRasterSource::RasterCommon(SkCanvas* canvas,
gfx::ToEnclosingRect(gfx::ScaleRect(gfx::Rect(size_), contents_scale));
content_rect.Intersect(canvas_rect);
- canvas->clipRect(gfx::RectToSkRect(content_rect), SkRegion::kIntersect_Op);
+ canvas->clipRect(gfx::RectToSkRect(content_rect));
DCHECK(display_list_.get());
display_list_->Raster(canvas, callback, contents_scale);
« no previous file with comments | « cc/resources/content_layer_updater.cc ('k') | cc/resources/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698