| Index: gpu/ipc/service/image_transport_surface_overlay_mac.mm
|
| diff --git a/gpu/ipc/service/image_transport_surface_overlay_mac.mm b/gpu/ipc/service/image_transport_surface_overlay_mac.mm
|
| index e8abb3298340d08716617bf0b2f71c7deb9d37ce..3f18b501e50f11f46f3760fc8f63d4b2d85dcb69 100644
|
| --- a/gpu/ipc/service/image_transport_surface_overlay_mac.mm
|
| +++ b/gpu/ipc/service/image_transport_surface_overlay_mac.mm
|
| @@ -59,18 +59,9 @@ void IOSurfaceContextNoOp(scoped_refptr<ui::IOSurfaceContext>) {
|
|
|
| namespace gpu {
|
|
|
| -scoped_refptr<gl::GLSurface> ImageTransportSurfaceCreateNativeSurface(
|
| - GpuChannelManager* manager,
|
| - GpuCommandBufferStub* stub,
|
| - SurfaceHandle handle) {
|
| - return new ImageTransportSurfaceOverlayMac(stub, handle);
|
| -}
|
| -
|
| ImageTransportSurfaceOverlayMac::ImageTransportSurfaceOverlayMac(
|
| - GpuCommandBufferStub* stub,
|
| - SurfaceHandle handle)
|
| + GpuCommandBufferStub* stub)
|
| : stub_(stub->AsWeakPtr()),
|
| - handle_(handle),
|
| use_remote_layer_api_(ui::RemoteLayerAPISupported()),
|
| scale_factor_(1),
|
| gl_renderer_id_(0) {
|
| @@ -135,7 +126,6 @@ void IOSurfaceContextNoOp(scoped_refptr<ui::IOSurfaceContext>) {
|
| }
|
|
|
| void ImageTransportSurfaceOverlayMac::SendAcceleratedSurfaceBuffersSwapped(
|
| - gpu::SurfaceHandle surface_handle,
|
| CAContextID ca_context_id,
|
| bool fullscreen_low_power_ca_context_valid,
|
| CAContextID fullscreen_low_power_ca_context_id,
|
| @@ -149,7 +139,6 @@ void IOSurfaceContextNoOp(scoped_refptr<ui::IOSurfaceContext>) {
|
| "width", size.width());
|
|
|
| GpuCommandBufferMsg_SwapBuffersCompleted_Params params;
|
| - params.surface_handle = surface_handle;
|
| params.ca_context_id = ca_context_id;
|
| params.fullscreen_low_power_ca_context_valid =
|
| fullscreen_low_power_ca_context_valid;
|
| @@ -277,7 +266,7 @@ void IOSurfaceContextNoOp(scoped_refptr<ui::IOSurfaceContext>) {
|
| io_surface_mach_port.reset(IOSurfaceCreateMachPort(io_surface));
|
| }
|
| SendAcceleratedSurfaceBuffersSwapped(
|
| - handle_, ca_context_id, fullscreen_low_power_layer_valid,
|
| + ca_context_id, fullscreen_low_power_layer_valid,
|
| fullscreen_low_power_ca_context_id, io_surface_mach_port, pixel_size_,
|
| scale_factor_, std::move(latency_info_));
|
|
|
|
|