Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index f5dda6e584e026f94f28c67fd98a67c53d866a5e..8aa78fc55950daf4182bebf244cb552bcdadba87 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -1466,6 +1466,10 @@ void LayerTreeImpl::InputScrollAnimationFinished() { |
layer_tree_host_impl_->ScrollEnd(); |
} |
+bool LayerTreeImpl::SmoothnessTakesPriority() const { |
+ return layer_tree_host_impl_->GetTreePriority() == SMOOTHNESS_TAKES_PRIORITY; |
+} |
+ |
BlockingTaskRunner* LayerTreeImpl::BlockingMainThreadTaskRunner() const { |
return proxy()->blocking_main_thread_task_runner(); |
} |