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

Unified Diff: ui/views/animation/ink_drop_painted_layer_delegates.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 | « ui/gfx/image/image_skia_operations.cc ('k') | ui/views/bubble/bubble_border.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/ink_drop_painted_layer_delegates.cc
diff --git a/ui/views/animation/ink_drop_painted_layer_delegates.cc b/ui/views/animation/ink_drop_painted_layer_delegates.cc
index a5de90c6b91bc2f0fea9c9bf9da5f5230075ae75..c098c83cd858f38a29d79e8bfc158044a71e5521 100644
--- a/ui/views/animation/ink_drop_painted_layer_delegates.cc
+++ b/ui/views/animation/ink_drop_painted_layer_delegates.cc
@@ -167,7 +167,8 @@ void BorderShadowLayerDelegate::OnPaintLayer(const ui::PaintContext& context) {
// Now the shadow.
paint.setLooper(gfx::CreateShadowDrawLooperCorrectBlur(shadows_));
- recorder.canvas()->sk_canvas()->clipRRect(r_rect, kDifference_SkClipOp, true);
+ recorder.canvas()->sk_canvas()->clipRRect(r_rect, SkClipOp::kDifference,
+ true);
recorder.canvas()->sk_canvas()->drawRRect(r_rect, paint);
}
« no previous file with comments | « ui/gfx/image/image_skia_operations.cc ('k') | ui/views/bubble/bubble_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698