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 52250cfac08d6e175be67dbd5dd031e1490b8747..0387e1d641e64caa1bb93dc934811e27945bee58 100644 |
--- a/ui/views/controls/button/label_button.cc |
+++ b/ui/views/controls/button/label_button.cc |
@@ -191,7 +191,7 @@ void LabelButton::SetStyle(ButtonStyle style) { |
style_ = style; |
// Inset the button focus rect from the actual border; roughly match Windows. |
if (style == STYLE_BUTTON) { |
- SetFocusPainter(scoped_ptr<Painter>()); |
+ SetFocusPainter(nullptr); |
} else { |
SetFocusPainter(Painter::CreateDashedFocusPainterWithInsets( |
gfx::Insets(3, 3, 3, 3))); |