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

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.cc

Issue 10052018: Drop frontbuffers with ui-use-gpu-process, synchronized with browser, decoupled from backbuffer dro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Major simplification! Created 8 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/gpu/gpu_process_host_ui_shim.cc
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
index e8cd609a94d835171036b1eabc0aa1e4a903dcd5..45f9ce9c4742a736418fbed9dc9ed0d4262fb92b 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -309,7 +309,8 @@ void GpuProcessHostUIShim::OnAcceleratedSurfaceNew(
TransportDIB::Handle shm_handle = TransportDIB::DefaultHandleValue();
view->AcceleratedSurfaceNew(
- params.width, params.height, &surface_handle, &shm_handle);
+ params.width, params.height, &surface_handle, &shm_handle,
+ params.route_id, host_id_);
delayed_send.Cancel();
Send(new AcceleratedSurfaceMsg_NewACK(
params.route_id, surface_handle, shm_handle));

Powered by Google App Engine
This is Rietveld 408576698