Index: ui/views/controls/native/native_view_host.h |
diff --git a/ui/views/controls/native/native_view_host.h b/ui/views/controls/native/native_view_host.h |
index 2ba7952d90c1f042caab641db66c4cd93474fb67..d5dd9b59fdbd54fbe6736ad82d2ca9671977c5fe 100644 |
--- a/ui/views/controls/native/native_view_host.h |
+++ b/ui/views/controls/native/native_view_host.h |
@@ -77,7 +77,7 @@ class VIEWS_EXPORT NativeViewHost : public View { |
void NativeViewDestroyed(); |
// Overridden from View: |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual void Layout() OVERRIDE; |
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; |
virtual void VisibilityChanged(View* starting_from, bool is_visible) OVERRIDE; |