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

Unified Diff: ui/views/button_drag_utils.cc

Issue 2649133008: Remove another use of old CreateShadowDrawLooper. (Closed)
Patch Set: Created 3 years, 11 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/button_drag_utils.cc
diff --git a/ui/views/button_drag_utils.cc b/ui/views/button_drag_utils.cc
index 70ecf3a3891827438d742de031ca2c9762122d28..084ed5b8f40029c029e14e3baea3037103a3eb71 100644
--- a/ui/views/button_drag_utils.cc
+++ b/ui/views/button_drag_utils.cc
@@ -58,7 +58,7 @@ void SetDragImage(const GURL& url,
ui::NativeTheme::kColorId_TextfieldDefaultBackground);
if (widget->IsTranslucentWindowOpacitySupported()) {
button.SetTextShadows(gfx::ShadowValues(
- 10, gfx::ShadowValue(gfx::Vector2d(0, 0), 1.0f, bg_color)));
+ 10, gfx::ShadowValue(gfx::Vector2d(0, 0), 2.0f, bg_color)));
} else {
button.set_background(views::Background::CreateSolidBackground(bg_color));
button.SetBorder(button.CreateDefaultBorder());
« no previous file with comments | « ui/gfx/render_text.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698