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

Unified Diff: ui/gfx/shadow_util.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/render_text.cc ('k') | ui/gfx/skia_paint_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/shadow_util.cc
diff --git a/ui/gfx/shadow_util.cc b/ui/gfx/shadow_util.cc
index 32e67e6ad7bfb8780cb6ea005c871de235211d26..7ff86aa5d16944679b7cc94219e058654cad6f12 100644
--- a/ui/gfx/shadow_util.cc
+++ b/ui/gfx/shadow_util.cc
@@ -37,7 +37,7 @@ class ShadowNineboxSource : public CanvasImageSource {
// CanvasImageSource overrides:
void Draw(Canvas* canvas) override {
cc::PaintFlags flags;
- flags.setLooper(CreateShadowDrawLooperCorrectBlur(shadows_));
+ flags.setLooper(CreateShadowDrawLooper(shadows_));
Insets insets = -ShadowValue::GetMargin(shadows_);
gfx::Rect bounds(size());
bounds.Inset(insets);
« no previous file with comments | « ui/gfx/render_text.cc ('k') | ui/gfx/skia_paint_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698