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 6cf43ea28bae8c303145536264b36abebcc766fc..a87be7facb9ec540df0d52a26552064ef9917c4b 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -1071,8 +1071,8 @@ void LayerTreeHostImpl::SetNeedsRedrawRect(gfx::Rect damage_rect) { |
client_->SetNeedsRedrawRectOnImplThread(damage_rect); |
} |
-void LayerTreeHostImpl::BeginFrame(base::TimeTicks frame_time) { |
- client_->BeginFrameOnImplThread(frame_time); |
+void LayerTreeHostImpl::BeginFrame(BeginFrameArgs args) { |
+ client_->BeginFrameOnImplThread(args); |
} |
void LayerTreeHostImpl::OnSwapBuffersComplete( |
@@ -1525,7 +1525,7 @@ bool LayerTreeHostImpl::DoInitializeRenderer( |
int max_frames_pending = |
output_surface->capabilities().max_frames_pending; |
if (max_frames_pending <= 0) |
- max_frames_pending = FrameRateController::DEFAULT_MAX_FRAMES_PENDING; |
+ max_frames_pending = OutputSurface::DEFAULT_MAX_FRAMES_PENDING; |
output_surface->SetMaxFramesPending(max_frames_pending); |
output_surface_ = output_surface.Pass(); |