Index: ui/views/controls/webview/webview.cc |
diff --git a/ui/views/controls/webview/webview.cc b/ui/views/controls/webview/webview.cc |
index 11d8acd5d99f11a27cf8089cf3559f7a8f134352..21de72612313f43c5556053536e66379ade07c14 100644 |
--- a/ui/views/controls/webview/webview.cc |
+++ b/ui/views/controls/webview/webview.cc |
@@ -224,7 +224,7 @@ gfx::NativeViewAccessible WebView::GetNativeViewAccessible() { |
return View::GetNativeViewAccessible(); |
} |
-gfx::Size WebView::GetPreferredSize() { |
+gfx::Size WebView::GetPreferredSize() const { |
if (preferred_size_ == gfx::Size()) |
return View::GetPreferredSize(); |
else |