summaryrefslogtreecommitdiffstats
path: root/chromium/ui/views/layout/fill_layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/views/layout/fill_layout.h')
-rw-r--r--chromium/ui/views/layout/fill_layout.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/ui/views/layout/fill_layout.h b/chromium/ui/views/layout/fill_layout.h
index 67c7f831457..f50bde0c6c7 100644
--- a/chromium/ui/views/layout/fill_layout.h
+++ b/chromium/ui/views/layout/fill_layout.h
@@ -25,8 +25,9 @@ class VIEWS_EXPORT FillLayout : public LayoutManager {
// Overridden from LayoutManager:
virtual void Layout(View* host) OVERRIDE;
- virtual gfx::Size GetPreferredSize(View* host) OVERRIDE;
- virtual int GetPreferredHeightForWidth(View* host, int width) OVERRIDE;
+ virtual gfx::Size GetPreferredSize(const View* host) const OVERRIDE;
+ virtual int GetPreferredHeightForWidth(const View* host,
+ int width) const OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(FillLayout);