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 1b1428b02f0a82d901616908265aa87c8b2394ca..715976b434eafabf5ac19d20d9c46d248c51afa2 100644 |
--- a/content/common/gpu/image_transport_surface.cc |
+++ b/content/common/gpu/image_transport_surface.cc |
@@ -209,8 +209,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() { |
@@ -308,7 +309,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); |
} |