Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index 36659f54319650a115266e2858959aa0dc0f5201..fc8b0d73a8c9d0cf31df18c76732494eca18c95d 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -909,6 +909,10 @@ void LayerTreeHostImpl::OnVSyncParametersChanged(base::TimeTicks timebase, |
client_->OnVSyncParametersChanged(timebase, interval); |
} |
+void LayerTreeHostImpl::DidVSync(base::TimeTicks frame_time) { |
+ client_->DidVSync(frame_time); |
+} |
+ |
void LayerTreeHostImpl::OnSendFrameToParentCompositorAck( |
const CompositorFrameAck& ack) { |
if (!renderer_) |
@@ -1026,6 +1030,11 @@ bool LayerTreeHostImpl::SwapBuffers() { |
return renderer_->SwapBuffers(); |
} |
+void LayerTreeHostImpl::EnableVSyncNotification(bool enable) { |
+ if (output_surface_) |
+ output_surface_->EnableVSyncNotification(enable); |
+} |
+ |
gfx::Size LayerTreeHostImpl::DeviceViewportSize() const { |
return device_viewport_size(); |
} |