| Index: ui/views/controls/tabbed_pane/tabbed_pane.cc
|
| diff --git a/ui/views/controls/tabbed_pane/tabbed_pane.cc b/ui/views/controls/tabbed_pane/tabbed_pane.cc
|
| index e28a995fbf8921dc9b537ffc2496262772c25a45..7f42152d1660adba0d232555e22f20484c6d0b9c 100644
|
| --- a/ui/views/controls/tabbed_pane/tabbed_pane.cc
|
| +++ b/ui/views/controls/tabbed_pane/tabbed_pane.cc
|
| @@ -147,7 +147,7 @@ Tab::Tab(TabbedPane* tabbed_pane, const base::string16& title, View* contents)
|
| const int kTabVerticalPadding = 5;
|
| const int kTabHorizontalPadding = 10;
|
|
|
| - SetBorder(Border::CreateEmptyBorder(
|
| + SetBorder(CreateEmptyBorder(
|
| gfx::Insets(kTabVerticalPadding, kTabHorizontalPadding)));
|
| SetLayoutManager(new FillLayout);
|
|
|
| @@ -267,7 +267,7 @@ MdTab::MdTab(TabbedPane* tabbed_pane,
|
| View* contents)
|
| : Tab(tabbed_pane, title, contents) {
|
| const int kBorderThickness = 2;
|
| - SetBorder(Border::CreateEmptyBorder(gfx::Insets(kBorderThickness)));
|
| + SetBorder(CreateEmptyBorder(gfx::Insets(kBorderThickness)));
|
| OnStateChanged();
|
| }
|
|
|
| @@ -297,7 +297,7 @@ gfx::Size MdTab::GetPreferredSize() const {
|
| }
|
|
|
| void MdTab::OnFocus() {
|
| - SetBorder(Border::CreateSolidBorder(
|
| + SetBorder(CreateSolidBorder(
|
| GetInsets().top(),
|
| SkColorSetA(GetNativeTheme()->GetSystemColor(
|
| ui::NativeTheme::kColorId_FocusedBorderColor),
|
| @@ -306,7 +306,7 @@ void MdTab::OnFocus() {
|
| }
|
|
|
| void MdTab::OnBlur() {
|
| - SetBorder(Border::CreateEmptyBorder(GetInsets()));
|
| + SetBorder(CreateEmptyBorder(GetInsets()));
|
| SchedulePaint();
|
| }
|
|
|
|
|