Index: content/common/gpu/image_transport_surface.cc |
diff --git a/content/common/gpu/image_transport_surface.cc b/content/common/gpu/image_transport_surface.cc |
index 8c1241d6d5e0e413a8cdd212e0c620a35d275d72..b66bf6f40b0284e4893702c84e5b4fd84c0e6441 100644 |
--- a/content/common/gpu/image_transport_surface.cc |
+++ b/content/common/gpu/image_transport_surface.cc |
@@ -211,8 +211,9 @@ void ImageTransportHelper::OnSetFrontSurfaceIsProtected( |
surface_->OnSetFrontSurfaceIsProtected(is_protected, protection_state_id); |
} |
-void ImageTransportHelper::OnBufferPresented(uint32 sync_point) { |
- surface_->OnBufferPresented(sync_point); |
+void ImageTransportHelper::OnBufferPresented(bool presented, |
+ uint32 sync_point) { |
+ surface_->OnBufferPresented(presented, sync_point); |
} |
void ImageTransportHelper::OnResizeViewACK() { |
@@ -310,7 +311,9 @@ bool PassThroughImageTransportSurface::OnMakeCurrent(gfx::GLContext* context) { |
return true; |
} |
-void PassThroughImageTransportSurface::OnBufferPresented(uint32 sync_point) { |
+void PassThroughImageTransportSurface::OnBufferPresented( |
+ bool /* presented */, |
+ uint32 /* sync_point */) { |
DCHECK(transport_); |
helper_->SetScheduled(true); |
} |