summaryrefslogtreecommitdiffstats
path: root/ui/app_list/views/search_box_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app_list/views/search_box_view.cc')
-rw-r--r--ui/app_list/views/search_box_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app_list/views/search_box_view.cc b/ui/app_list/views/search_box_view.cc
index d701766..f7a84f4 100644
--- a/ui/app_list/views/search_box_view.cc
+++ b/ui/app_list/views/search_box_view.cc
@@ -56,7 +56,7 @@ SearchBoxView::SearchBoxView(SearchBoxViewDelegate* delegate,
#if !defined(OS_CHROMEOS)
menu_button_ = new views::MenuButton(NULL, base::string16(), this, false);
- menu_button_->set_border(NULL);
+ menu_button_->SetBorder(views::Border::NullBorder());
menu_button_->SetIcon(*rb.GetImageSkiaNamed(IDR_APP_LIST_TOOLS_NORMAL));
menu_button_->SetHoverIcon(*rb.GetImageSkiaNamed(IDR_APP_LIST_TOOLS_HOVER));
menu_button_->SetPushedIcon(*rb.GetImageSkiaNamed(
@@ -64,7 +64,7 @@ SearchBoxView::SearchBoxView(SearchBoxViewDelegate* delegate,
AddChildView(menu_button_);
#endif
- search_box_->set_border(NULL);
+ search_box_->SetBorder(views::Border::NullBorder());
search_box_->SetFontList(rb.GetFontList(ui::ResourceBundle::MediumFont));
search_box_->set_placeholder_text_color(kHintTextColor);
search_box_->set_controller(this);