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

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: fixing nits 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..edef78087e0634555c9cc24565d0e52e17b41edd 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -309,7 +309,11 @@ 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);
delayed_send.Cancel();
Send(new AcceleratedSurfaceMsg_NewACK(
params.route_id, surface_handle, shm_handle));

Powered by Google App Engine
This is Rietveld 408576698