Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1670)

Unified Diff: content/browser/renderer_host/browser_render_process_host.cc

Issue 7136001: GPU compositing surface handle is no longer sent to renderer process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/browser_render_process_host.cc
===================================================================
--- content/browser/renderer_host/browser_render_process_host.cc (revision 90090)
+++ 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()));
@@ -710,6 +710,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_) {
« no previous file with comments | « content/browser/renderer_host/browser_render_process_host.h ('k') | content/browser/renderer_host/gpu_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698