| Index: cc/layer_tree_host.cc
|
| diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
|
| index 390f0013c33042ce1b2008457b4f98d04a4c6fb4..bed676672cc9b83df4056ca5f2f8643ca9e9f36f 100644
|
| --- a/cc/layer_tree_host.cc
|
| +++ b/cc/layer_tree_host.cc
|
| @@ -857,6 +857,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())
|
|
|