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

Unified Diff: ui/views/controls/button/blue_button.cc

Issue 23228004: Prepare to use gfx::RenderText in views::Label. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix OnBoundsChanged handling. Created 6 years, 5 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: ui/views/controls/button/blue_button.cc
diff --git a/ui/views/controls/button/blue_button.cc b/ui/views/controls/button/blue_button.cc
index 94e1e340967ff89f9877d2fa9ff21203bac83985..74112d1e7398c43e6c4a9ffdb36102f9d678d458 100644
--- a/ui/views/controls/button/blue_button.cc
+++ b/ui/views/controls/button/blue_button.cc
@@ -35,7 +35,7 @@ void BlueButton::ResetColorsFromNativeTheme() {
SetTextColor(STATE_DISABLED, GetNativeTheme()->
GetSystemColor(ui::NativeTheme::kColorId_BlueButtonDisabledColor));
- label()->set_shadows(gfx::ShadowValues(
+ label()->SetShadows(gfx::ShadowValues(
1,
gfx::ShadowValue(
gfx::Point(0, 1),

Powered by Google App Engine
This is Rietveld 408576698