Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index d0f344ff203f7c357e38b7b450408c35eb1a645d..8d01b2b87954aeed601342944d659670a0e650a1 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -843,6 +843,10 @@ void LayerTreeHost::StartPageScaleAnimation(const gfx::Vector2d& target_offset, |
SetNeedsCommit(); |
} |
+bool LayerTreeHost::HasPendingPageScaleAnimation() const { |
+ return pending_page_scale_animation_.get(); |
+} |
+ |
void LayerTreeHost::NotifyInputThrottledUntilCommit() { |
proxy_->NotifyInputThrottledUntilCommit(); |
} |