Index: ui/views/controls/button/label_button.cc |
diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc |
index 39140ed5def3f561c10d57bf56efcae47c1bdc8e..491e3a504ab6d7d57ff4b189d3dad80b1c0c8098 100644 |
--- a/ui/views/controls/button/label_button.cc |
+++ b/ui/views/controls/button/label_button.cc |
@@ -140,7 +140,7 @@ void LabelButton::SetIsDefault(bool is_default) { |
void LabelButton::SetStyle(ButtonStyle style) { |
// Use the new button style instead of the native button style. |
// TODO(msw): Officialy deprecate and remove STYLE_NATIVE_TEXTBUTTON. |
- if (DialogDelegate::UseNewStyle() && style == STYLE_NATIVE_TEXTBUTTON) |
+ if (style == STYLE_NATIVE_TEXTBUTTON) |
style = STYLE_BUTTON; |
style_ = style; |