Index: content/browser/renderer_host/render_widget_host_view_mac.mm |
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm |
index 0dc3ef091766a161c2af2c3a9f3e4e66f8a37342..c034ef964ae70ae59e0fc96efd666a775deaa46d 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm |
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm |
@@ -521,6 +521,14 @@ RenderWidgetHostViewMac::RenderWidgetHostViewMac(RenderWidgetHost* widget, |
->GetInputEventRouter() |
->AddSurfaceClientIdOwner(GetSurfaceClientId(), this); |
} |
+ |
+ RenderViewHost* rvh = RenderViewHost::From(render_widget_host_); |
+ if (rvh) { |
+ WebPreferences prefs = rvh->GetWebkitPreferences(); |
+ // TODO(mostynb): actually use prefs. Landing this as a separate CL |
+ // first to rebaseline some unreliable layout tests. |
+ (void)prefs; |
Avi (use Gerrit)
2016/07/20 18:25:36
ignore_result() from base/macros.h?
Mostyn Bramley-Moore
2016/07/20 18:48:38
Done.
|
+ } |
} |
RenderWidgetHostViewMac::~RenderWidgetHostViewMac() { |