Chromium Code Reviews| Index: content/gpu/gpu_child_thread.cc |
| diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc |
| index c8449d087a65e1de31f9c7bcb30e7f1c80f06589..a9ad3babcb8e423c9a8e89e6bb97973e12a38c27 100644 |
| --- a/content/gpu/gpu_child_thread.cc |
| +++ b/content/gpu/gpu_child_thread.cc |
| @@ -329,7 +329,19 @@ void GpuChildThread::RemoveSubscription(int32_t client_id, |
| #if defined(OS_MACOSX) |
| void GpuChildThread::SendAcceleratedSurfaceBuffersSwapped( |
| - const AcceleratedSurfaceBuffersSwappedParams& params) { |
| + int32_t surface_id, |
| + CAContextID ca_context_id, |
| + const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface, |
| + const gfx::Size& size, |
| + float scale_factor, |
| + const std::vector<ui::LatencyInfo>& latency_info) { |
|
piman
2016/03/24 18:02:21
nit: make this "std::vector<ui::LatencyInfo> laten
Fady Samuel
2016/03/24 18:18:03
Done.
|
| + AcceleratedSurfaceBuffersSwappedParams params; |
| + params.surface_id = surface_id; |
| + params.ca_context_id = ca_context_id; |
| + params.io_surface = io_surface; |
| + params.size = size; |
| + params.scale_factor = scale_factor; |
| + params.latency_info = latency_info; |
| Send(new GpuHostMsg_AcceleratedSurfaceBuffersSwapped(params)); |
| } |
| #endif |