| Index: cc/layer_tree_host.cc
|
| diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
|
| index 91276deb8ad5bcb005ec733ce1713e3e0f543d63..b1a296f3709d0f413a1fd9307c520964f5bf68c5 100644
|
| --- a/cc/layer_tree_host.cc
|
| +++ b/cc/layer_tree_host.cc
|
| @@ -868,6 +868,13 @@ void LayerTreeHost::setDeviceScaleFactor(float deviceScaleFactor)
|
| setNeedsCommit();
|
| }
|
|
|
| +bool LayerTreeHost::blocksPendingCommit() const
|
| +{
|
| + if (!m_rootLayer)
|
| + return false;
|
| + return m_rootLayer->blocksPendingCommitRecursive();
|
| +}
|
| +
|
| void LayerTreeHost::animateLayers(base::TimeTicks time)
|
| {
|
| if (!m_settings.acceleratedAnimationEnabled || m_animationRegistrar->active_animation_controllers().empty())
|
|
|