Index: ui/app_list/views/search_result_list_view.h |
diff --git a/ui/app_list/views/search_result_list_view.h b/ui/app_list/views/search_result_list_view.h |
index 365d9b53ec4c86d35f00527eaa26bc34ba1761e3..e46bc23d5e1e0cdefc14e4e6a3531de238fdad18 100644 |
--- a/ui/app_list/views/search_result_list_view.h |
+++ b/ui/app_list/views/search_result_list_view.h |
@@ -55,7 +55,7 @@ class APP_LIST_EXPORT SearchResultListView : public views::View, |
// Overridden from views::View: |
virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
private: |
friend class test::SearchResultListViewTest; |
@@ -79,7 +79,7 @@ class APP_LIST_EXPORT SearchResultListView : public views::View, |
// Overridden from views::View: |
virtual void Layout() OVERRIDE; |
- virtual int GetHeightForWidth(int w) OVERRIDE; |
+ virtual int GetHeightForWidth(int w) const OVERRIDE; |
virtual void VisibilityChanged( |
views::View* starting_from, bool is_visible) OVERRIDE; |