| Index: cc/trees/thread_proxy.cc
|
| diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
|
| index d015d283f6bd94d431d6e50dc61f2fe800162e78..676abc5f850ab53b1ca291841198a09dbf9ec263 100644
|
| --- a/cc/trees/thread_proxy.cc
|
| +++ b/cc/trees/thread_proxy.cc
|
| @@ -351,14 +351,8 @@ void ThreadProxy::DidSwapBuffersCompleteOnImplThread() {
|
| base::Bind(&ThreadProxy::DidCompleteSwapBuffers, main_thread_weak_ptr_));
|
| }
|
|
|
| -void ThreadProxy::SetNeedsBeginFrame(bool enable) {
|
| - TRACE_EVENT1("cc", "ThreadProxy::SetNeedsBeginFrame", "enable", enable);
|
| - impl().layer_tree_host_impl->SetNeedsBeginFrame(enable);
|
| - UpdateBackgroundAnimateTicking();
|
| -}
|
| -
|
| -void ThreadProxy::BeginFrame(const BeginFrameArgs& args) {
|
| - impl().scheduler->BeginFrame(args);
|
| +BeginFrameSource* ThreadProxy::GetBeginFrameSource() {
|
| + return impl().layer_tree_host_impl.get();
|
| }
|
|
|
| void ThreadProxy::WillBeginImplFrame(const BeginFrameArgs& args) {
|
| @@ -1259,7 +1253,7 @@ void ThreadProxy::LayerTreeHostClosedOnImplThread(CompletionEvent* completion) {
|
| layer_tree_host()->DeleteContentsTexturesOnImplThread(
|
| impl().layer_tree_host_impl->resource_provider());
|
| impl().current_resource_update_controller.reset();
|
| - impl().layer_tree_host_impl->SetNeedsBeginFrame(false);
|
| + impl().layer_tree_host_impl->SetNeedsBeginFrames(false);
|
| impl().scheduler.reset();
|
| impl().layer_tree_host_impl.reset();
|
| impl().weak_factory.InvalidateWeakPtrs();
|
|
|