Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index 389f296e413e1605a5072ddf04241e642672581c..afdf7a5308982ece58dfc31f96c12c958662c0d6 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -252,6 +252,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()); |
@@ -1338,4 +1343,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 |