Index: ui/message_center/views/notification_button.cc |
diff --git a/ui/message_center/views/notification_button.cc b/ui/message_center/views/notification_button.cc |
index beaa8d825c8f37f31b95f066dd80e994aede353c..ba0a793ca72624ea242f65b35fde32aadc5fe646 100644 |
--- a/ui/message_center/views/notification_button.cc |
+++ b/ui/message_center/views/notification_button.cc |
@@ -51,7 +51,7 @@ void NotificationButton::SetIcon(const gfx::ImageSkia& image) { |
icon_->SetImage(image); |
icon_->SetHorizontalAlignment(views::ImageView::LEADING); |
icon_->SetVerticalAlignment(views::ImageView::LEADING); |
- icon_->SetBorder(views::Border::CreateEmptyBorder( |
+ icon_->SetBorder(views::CreateEmptyBorder( |
message_center::kButtonIconTopPadding, 0, 0, 0)); |
AddChildViewAt(icon_, 0); |
} |
@@ -68,7 +68,7 @@ void NotificationButton::SetTitle(const base::string16& title) { |
title_->SetEnabledColor(message_center::kRegularTextColor); |
title_->SetBackgroundColor(kRegularTextBackgroundColor); |
title_->SetBorder( |
- views::Border::CreateEmptyBorder(kButtonTitleTopPadding, 0, 0, 0)); |
+ views::CreateEmptyBorder(kButtonTitleTopPadding, 0, 0, 0)); |
AddChildView(title_); |
} |
SetAccessibleName(title); |