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

Unified Diff: content/browser/web_contents/aura/gesture_nav_simple.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
Index: content/browser/web_contents/aura/gesture_nav_simple.cc
diff --git a/content/browser/web_contents/aura/gesture_nav_simple.cc b/content/browser/web_contents/aura/gesture_nav_simple.cc
index 7ea7792d86bdced7276e5e099fbf5fac5fd6581e..c67d8617b4e84928434ae6528c7dd5f20868f77b 100644
--- a/content/browser/web_contents/aura/gesture_nav_simple.cc
+++ b/content/browser/web_contents/aura/gesture_nav_simple.cc
@@ -277,7 +277,7 @@ void GestureNavSimple::Affordance::OnPaintLayer(
gfx::ShadowValues shadow;
shadow.emplace_back(gfx::Vector2d(0, kBgShadowOffsetY), kBgShadowBlurRadius,
kBgShadowColor);
- bg_flags.setLooper(gfx::CreateShadowDrawLooperCorrectBlur(shadow));
+ bg_flags.setLooper(gfx::CreateShadowDrawLooper(shadow));
canvas->DrawCircle(center_point, kBackgroundRadius, bg_flags);
// Draw the arrow.
« no previous file with comments | « chrome/browser/ui/views/message_center/message_center_frame_view.cc ('k') | ui/app_list/app_list_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698