Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 794809f4599dd60d5bae7e8762f4b9acd9dbdace..ff285049ddbb7dc9d0e75a6b46e83252ba671fbc 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -839,6 +839,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(); |
} |