Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index 73bf79e5f4eb6d3f6b8a4979187b99aa642c7120..3f51774485541acfe52ad713df014f704dbb644d 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -251,6 +251,11 @@ void ThreadProxy::SendCommitRequestToImplThreadIfNeeded() { |
impl_thread_weak_ptr_)); |
} |
+void ThreadProxy::DidCompletePageScaleAnimation() { |
+ DCHECK(IsMainThread()); |
+ layer_tree_host()->DidCompletePageScaleAnimation(); |
+} |
+ |
const RendererCapabilities& ThreadProxy::GetRendererCapabilities() const { |
DCHECK(IsMainThread()); |
DCHECK(!layer_tree_host()->output_surface_lost()); |
@@ -1340,4 +1345,11 @@ void ThreadProxy::DidPrepareTiles() { |
impl().scheduler->DidPrepareTiles(); |
} |
+void ThreadProxy::DidCompletePageScaleAnimationOnImplThread() { |
+ DCHECK(IsImplThread()); |
+ Proxy::MainThreadTaskRunner()->PostTask( |
+ FROM_HERE, base::Bind(&ThreadProxy::DidCompletePageScaleAnimation, |
+ main_thread_weak_ptr_)); |
+} |
+ |
} // namespace cc |