Index: content/browser/renderer_host/browser_render_process_host.cc |
=================================================================== |
--- content/browser/renderer_host/browser_render_process_host.cc (revision 89036) |
+++ content/browser/renderer_host/browser_render_process_host.cc (working copy) |
@@ -360,7 +360,7 @@ |
channel_->AddFilter( |
GeolocationDispatcherHost::New( |
id(), profile()->GetGeolocationPermissionContext())); |
- channel_->AddFilter(new GpuMessageFilter(id())); |
+ channel_->AddFilter(new GpuMessageFilter(id(), widget_helper_.get())); |
channel_->AddFilter(new PepperFileMessageFilter(id(), profile())); |
channel_->AddFilter( |
new PepperMessageFilter(&profile()->GetResourceContext())); |
@@ -708,6 +708,12 @@ |
cached_dibs_.clear(); |
} |
+void BrowserRenderProcessHost::SetCompositingSurface( |
+ int render_widget_id, |
+ gfx::PluginWindowHandle compositing_surface) { |
+ widget_helper_->SetCompositingSurface(render_widget_id, compositing_surface); |
+} |
+ |
bool BrowserRenderProcessHost::Send(IPC::Message* msg) { |
if (!channel_.get()) { |
if (!is_initialized_) { |