Index: content/public/renderer/render_view.h |
diff --git a/content/public/renderer/render_view.h b/content/public/renderer/render_view.h |
index b828c997318a7786dbdf57a3f1c474db1bbbb1d8..b6de6986e81d08a612b79f36bb8fda31b094437d 100644 |
--- a/content/public/renderer/render_view.h |
+++ b/content/public/renderer/render_view.h |
@@ -71,7 +71,7 @@ class CONTENT_EXPORT RenderView : public IPC::Sender { |
virtual float GetDeviceScaleFactor() const = 0; |
// Gets WebKit related preferences associated with this view. |
- virtual WebPreferences& GetWebkitPreferences() = 0; |
+ virtual const WebPreferences& GetWebkitPreferences() = 0; |
// Overrides the WebKit related preferences associated with this view. Note |
// that the browser process may update the preferences at any time. |