Index: ui/message_center/views/message_center_view.cc |
diff --git a/ui/message_center/views/message_center_view.cc b/ui/message_center/views/message_center_view.cc |
index 10086518c76c4bd2d059fefcf10cdd30e9f06a79..b95ebf55eddaa8fff5da8d18a17af35aaa2f319d 100644 |
--- a/ui/message_center/views/message_center_view.cc |
+++ b/ui/message_center/views/message_center_view.cc |
@@ -238,11 +238,11 @@ void MessageCenterView::Layout() { |
if (is_scrollable) { |
// Draw separator line on the top of the button bar if it is on the bottom |
// or draw it at the bottom if the bar is on the top. |
- button_bar_->SetBorder(views::Border::CreateSolidSidedBorder( |
+ button_bar_->SetBorder(views::CreateSolidSidedBorder( |
top_down_ ? 0 : 1, 0, top_down_ ? 1 : 0, 0, kFooterDelimiterColor)); |
} else { |
- button_bar_->SetBorder(views::Border::CreateEmptyBorder( |
- top_down_ ? 0 : 1, 0, top_down_ ? 1 : 0, 0)); |
+ button_bar_->SetBorder( |
+ views::CreateEmptyBorder(top_down_ ? 0 : 1, 0, top_down_ ? 1 : 0, 0)); |
} |
button_bar_->SchedulePaint(); |
} |