Index: ui/views/controls/native/native_view_host.cc |
diff --git a/ui/views/controls/native/native_view_host.cc b/ui/views/controls/native/native_view_host.cc |
index 4bf4099c9c70f458a1774711ac96c48d8064fdb8..c1b230c452e64bd8fd90d3e91310a5c16727d4c0 100644 |
--- a/ui/views/controls/native/native_view_host.cc |
+++ b/ui/views/controls/native/native_view_host.cc |
@@ -65,7 +65,7 @@ void NativeViewHost::NativeViewDestroyed() { |
//////////////////////////////////////////////////////////////////////////////// |
// NativeViewHost, View overrides: |
-gfx::Size NativeViewHost::GetPreferredSize() { |
+gfx::Size NativeViewHost::GetPreferredSize() const { |
return preferred_size_; |
} |