Index: ui/views/style/platform_style.cc |
diff --git a/ui/views/style/platform_style.cc b/ui/views/style/platform_style.cc |
index d35f52d6892ac941001b826ee5af89782256f70e..39dc249c2d147d05bf3f1228724a60c5b32cda2e 100644 |
--- a/ui/views/style/platform_style.cc |
+++ b/ui/views/style/platform_style.cc |
@@ -64,20 +64,6 @@ std::unique_ptr<Background> PlatformStyle::CreateComboboxBackground( |
} |
// static |
-std::unique_ptr<LabelButtonBorder> PlatformStyle::CreateLabelButtonBorder( |
- Button::ButtonStyle style) { |
- if (!ui::MaterialDesignController::IsModeMaterial() || |
- style != Button::STYLE_TEXTBUTTON) { |
- return base::MakeUnique<LabelButtonAssetBorder>(style); |
- } |
- |
- std::unique_ptr<LabelButtonBorder> border(new views::LabelButtonBorder()); |
- border->set_insets(views::LabelButtonAssetBorder::GetDefaultInsetsForStyle( |
- Button::STYLE_TEXTBUTTON)); |
- return border; |
-} |
- |
-// static |
std::unique_ptr<ScrollBar> PlatformStyle::CreateScrollBar(bool is_horizontal) { |
return base::MakeUnique<NativeScrollBar>(is_horizontal); |
} |