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

Unified Diff: ui/views/animation/ink_drop_painted_layer_delegates.cc

Issue 2733363002: Update last few users of deprecated CreateShadowDrawLooper and remove (Closed)
Patch Set: Created 3 years, 9 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 | « ui/gfx/skia_paint_util.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 388fa7b8dedfcdef705b06a54be3e8663f614425..0c620499eb842021717b7386864a28cd3992e436 100644
--- a/ui/views/animation/ink_drop_painted_layer_delegates.cc
+++ b/ui/views/animation/ink_drop_painted_layer_delegates.cc
@@ -168,7 +168,7 @@ void BorderShadowLayerDelegate::OnPaintLayer(const ui::PaintContext& context) {
recorder.canvas()->sk_canvas()->drawRRect(r_rect, flags);
// Now the shadow.
- flags.setLooper(gfx::CreateShadowDrawLooperCorrectBlur(shadows_));
+ flags.setLooper(gfx::CreateShadowDrawLooper(shadows_));
recorder.canvas()->sk_canvas()->clipRRect(r_rect, SkClipOp::kDifference,
true);
recorder.canvas()->sk_canvas()->drawRRect(r_rect, flags);
« no previous file with comments | « ui/gfx/skia_paint_util.cc ('k') | ui/views/bubble/bubble_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698