Index: content/browser/renderer_host/render_widget_host_view_aura.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc |
index 284533c8122b0257a8b835f96de284d305bb3a0b..6fdcf891b8f50706eee422addcfa1bb682ffe518 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -491,6 +491,13 @@ RenderWidgetHostViewAura::RenderWidgetHostViewAura(RenderWidgetHost* host, |
selection_controller_client_.reset( |
new TouchSelectionControllerClientAura(this)); |
CreateSelectionController(); |
+ |
+ RenderViewHost* rvh = RenderViewHost::From(host_); |
+ if (rvh) { |
+ // TODO(mostynb): actually use prefs. Landing this as a separate CL |
+ // first to rebaseline some unreliable layout tests. |
+ ignore_result(rvh->GetWebkitPreferences()); |
+ } |
} |
//////////////////////////////////////////////////////////////////////////////// |