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

Unified Diff: content/renderer/pepper/pepper_graphics_2d_host.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 | « content/browser/devtools/protocol/color_picker.cc ('k') | skia/config/SkUserConfig.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_graphics_2d_host.cc
diff --git a/content/renderer/pepper/pepper_graphics_2d_host.cc b/content/renderer/pepper/pepper_graphics_2d_host.cc
index 23137b079dea383db8b306e7d25c4ef5f34fef1c..9b1cd3749ec553fe13639f9a6b35444006dfebf3 100644
--- a/content/renderer/pepper/pepper_graphics_2d_host.cc
+++ b/content/renderer/pepper/pepper_graphics_2d_host.cc
@@ -346,7 +346,7 @@ void PepperGraphics2DHost::Paint(blink::WebCanvas* canvas,
SkAutoCanvasRestore auto_restore(canvas, true);
SkRect image_data_rect =
gfx::RectToSkRect(gfx::Rect(plugin_rect.origin(), image_size));
- canvas->clipRect(image_data_rect, kDifference_SkClipOp);
+ canvas->clipRect(image_data_rect, SkClipOp::kDifference);
SkPaint paint;
paint.setBlendMode(SkBlendMode::kSrc);
« no previous file with comments | « content/browser/devtools/protocol/color_picker.cc ('k') | skia/config/SkUserConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698