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

Unified Diff: ui/views/bubble/bubble_border.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/views/animation/ink_drop_painted_layer_delegates.cc ('k') | ui/views/controls/button/toggle_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/bubble/bubble_border.cc
diff --git a/ui/views/bubble/bubble_border.cc b/ui/views/bubble/bubble_border.cc
index f81e8ad8c67de3a1d0a3256e689793b51de11a62..d946ebc4d763173cdf6661393f42c18e86aa18f3 100644
--- a/ui/views/bubble/bubble_border.cc
+++ b/ui/views/bubble/bubble_border.cc
@@ -539,7 +539,7 @@ void BubbleBorder::PaintMd(const View& view, gfx::Canvas* canvas) {
2 * kSmallShadowBlur, kSmallShadowColor);
shadows.emplace_back(gfx::Vector2d(0, kLargeShadowVerticalOffset),
2 * kLargeShadowBlur, kLargeShadowColor);
- flags.setLooper(gfx::CreateShadowDrawLooperCorrectBlur(shadows));
+ flags.setLooper(gfx::CreateShadowDrawLooper(shadows));
flags.setColor(SkColorSetA(SK_ColorBLACK, 0x26));
flags.setAntiAlias(true);
« no previous file with comments | « ui/views/animation/ink_drop_painted_layer_delegates.cc ('k') | ui/views/controls/button/toggle_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698