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

Unified Diff: cc/playback/raster_source.cc

Issue 2575533002: SkClipOp is an enum class now (Closed)
Patch Set: Created 4 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 | « cc/playback/display_item_list_unittest.cc ('k') | cc/proto/skia_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/raster_source.cc
diff --git a/cc/playback/raster_source.cc b/cc/playback/raster_source.cc
index 4ad28c3cf86efb9fdeda6301535a6c1806fa40aa..1514383f51cac6701026ce64af9603c5a9401fce 100644
--- a/cc/playback/raster_source.cc
+++ b/cc/playback/raster_source.cc
@@ -172,7 +172,7 @@ void RasterSource::PrepareForPlaybackToCanvas(SkCanvas* canvas) const {
// Use clipRegion to bypass CTM because the rects are device rects.
SkRegion interest_region;
interest_region.setRect(interest_rect);
- canvas->clipRegion(interest_region, kDifference_SkClipOp);
+ canvas->clipRegion(interest_region, SkClipOp::kDifference);
canvas->clear(DebugColors::MissingResizeInvalidations());
canvas->restore();
}
« no previous file with comments | « cc/playback/display_item_list_unittest.cc ('k') | cc/proto/skia_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698