| Index: gpu/ipc/service/pass_through_image_transport_surface.cc
|
| diff --git a/gpu/ipc/service/pass_through_image_transport_surface.cc b/gpu/ipc/service/pass_through_image_transport_surface.cc
|
| index e3587409bbfbfa23a14fc4f04278f7c9565edd03..f12b15922a57b94ace6fabfcf819ca752a97af50 100644
|
| --- a/gpu/ipc/service/pass_through_image_transport_surface.cc
|
| +++ b/gpu/ipc/service/pass_through_image_transport_surface.cc
|
| @@ -57,15 +57,11 @@ void PassThroughImageTransportSurface::SwapBuffersAsync(
|
| weak_ptr_factory_.GetWeakPtr(), base::Passed(&latency_info), callback));
|
| }
|
|
|
| -gfx::SwapResult PassThroughImageTransportSurface::SwapBuffersWithDamage(
|
| - int x,
|
| - int y,
|
| - int width,
|
| - int height) {
|
| +gfx::SwapResult PassThroughImageTransportSurface::SwapBuffersWithBounds(
|
| + const std::vector<gfx::Rect>& rects) {
|
| std::unique_ptr<std::vector<ui::LatencyInfo>> latency_info =
|
| StartSwapBuffers();
|
| - gfx::SwapResult result =
|
| - gl::GLSurfaceAdapter::SwapBuffersWithDamage(x, y, width, height);
|
| + gfx::SwapResult result = gl::GLSurfaceAdapter::SwapBuffersWithBounds(rects);
|
| FinishSwapBuffers(std::move(latency_info), result);
|
| return result;
|
| }
|
|
|