Index: ui/views/controls/webview/webview.h |
diff --git a/ui/views/controls/webview/webview.h b/ui/views/controls/webview/webview.h |
index 831fe3447ed1c3fe1e986e4274ccbe6dbb58dbf3..5cbb88742862a54563e7993aa0058da61a4665dc 100644 |
--- a/ui/views/controls/webview/webview.h |
+++ b/ui/views/controls/webview/webview.h |
@@ -108,7 +108,7 @@ class WEBVIEW_EXPORT WebView : public View, |
virtual void AboutToRequestFocusFromTabTraversal(bool reverse) OVERRIDE; |
virtual void GetAccessibleState(ui::AXViewState* state) OVERRIDE; |
virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
// Overridden from content::WebContentsDelegate: |
virtual void WebContentsFocused(content::WebContents* web_contents) OVERRIDE; |