void LayerTreeHostProxy::syncAnimations() { TextureMapperLayer* layer = toTextureMapperLayer(rootLayer()); ASSERT(layer); layer->syncAnimationsRecursively(); if (layer->descendantsOrSelfHaveRunningAnimations()) updateViewport(); }