Index: chrome/browser/ui/views/toolbar/toolbar_button.h |
diff --git a/chrome/browser/ui/views/toolbar/toolbar_button.h b/chrome/browser/ui/views/toolbar/toolbar_button.h |
index acbbc88c8485f75ebe3e1c7c0c0e6ffbdfd3835d..1ecb0831ead5046ed4e6fe945c065ddd157819aa 100644 |
--- a/chrome/browser/ui/views/toolbar/toolbar_button.h |
+++ b/chrome/browser/ui/views/toolbar/toolbar_button.h |
@@ -36,7 +36,7 @@ class ToolbarButton : public views::LabelButton, |
bool IsMenuShowing() const; |
// views::LabelButton: |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; |
virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; |
virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; |