summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/render_process_host_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/render_process_host_impl.cc')
-rw-r--r--content/browser/renderer_host/render_process_host_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 86875b4..7218e14 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -2123,7 +2123,7 @@ void RenderProcessHostImpl::OnGpuSwitching() {
continue;
RenderViewHost* rvh = RenderViewHost::From(widget);
- rvh->OnWebkitPreferencesChanged();
+ rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
}
}