| Index: ui/views/test/test_views.h
|
| diff --git a/ui/views/test/test_views.h b/ui/views/test/test_views.h
|
| index 7501a810045612fef61e65b955e11a1934779b8b..7d0cabf6c8ae1d5dc5104bf89eecfe88a2217ca9 100644
|
| --- a/ui/views/test/test_views.h
|
| +++ b/ui/views/test/test_views.h
|
| @@ -15,7 +15,7 @@ class StaticSizedView : public View {
|
| explicit StaticSizedView(const gfx::Size& size);
|
| virtual ~StaticSizedView();
|
|
|
| - virtual gfx::Size GetPreferredSize() OVERRIDE;
|
| + virtual gfx::Size GetPreferredSize() const OVERRIDE;
|
|
|
| private:
|
| gfx::Size size_;
|
| @@ -29,7 +29,7 @@ class ProportionallySizedView : public View {
|
| explicit ProportionallySizedView(int factor);
|
| virtual ~ProportionallySizedView();
|
|
|
| - virtual int GetHeightForWidth(int w) OVERRIDE;
|
| + virtual int GetHeightForWidth(int w) const OVERRIDE;
|
|
|
| private:
|
| // The multiplicative factor between width and height, i.e.
|
|
|