Index: mojo/examples/compositor_app/compositor_host.cc |
diff --git a/mojo/examples/compositor_app/compositor_host.cc b/mojo/examples/compositor_app/compositor_host.cc |
index ff6854dcee9cfb9eec7aa8c255216437fe8936df..6864d1649b335a9732f6f5cc74e0c74f1f55bf2a 100644 |
--- a/mojo/examples/compositor_app/compositor_host.cc |
+++ b/mojo/examples/compositor_app/compositor_host.cc |
@@ -103,7 +103,7 @@ void CompositorHost::Animate(double frame_begin_time) { |
child_transform.Translate(200, 200); |
child_transform.Rotate(child_rotation_degrees); |
child_layer_->SetTransform(child_transform); |
- tree_->SetNeedsAnimate(); |
+ tree_->SetNeedsUpdateLayers(); |
} |
void CompositorHost::Layout() {} |