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

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

Issue 15689003: Part 3/3 (RWH/IOSurface) of adding with device scale factor to transport surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missed lines Created 7 years, 7 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/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 9e73ac99b9386acb53c0671c6b9e4cac3c23889f..3d75f5d01a6de267bc4d5a4bcbc8a05e6e23a780 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1748,17 +1748,13 @@ void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) {
}
void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost(
- int32 surface_id,
- uint64 surface_handle,
- int32 route_id,
- const gfx::Size& size,
- int32 gpu_process_host_id) {
+ const ViewHostMsg_CompositorSurfaceBuffersSwapped_Params& params) {
TRACE_EVENT0("renderer_host",
"RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
ack_params.sync_point = 0;
- RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
- gpu_process_host_id,
+ RenderWidgetHostImpl::AcknowledgeBufferPresent(params.route_id,
+ params.gpu_process_host_id,
ack_params);
}

Powered by Google App Engine
This is Rietveld 408576698