Index: cc/trees/tree_synchronizer_unittest.cc |
diff --git a/cc/trees/tree_synchronizer_unittest.cc b/cc/trees/tree_synchronizer_unittest.cc |
index a56032f11e8d609da2040e1cec9924ac09bea67f..b60f6b1dc34590fc276bb4b01a835c09a85beade 100644 |
--- a/cc/trees/tree_synchronizer_unittest.cc |
+++ b/cc/trees/tree_synchronizer_unittest.cc |
@@ -271,6 +271,7 @@ TEST_F(TreeSynchronizerTest, SyncSimpleTreeAndProperties) { |
gfx::Size second_child_bounds = gfx::Size(25, 53); |
layer_tree_root->children()[1]->SetBounds(second_child_bounds); |
+ layer_tree_root->children()[1]->PrepareToUpdate(); |
scoped_ptr<LayerImpl> layer_impl_tree_root = |
TreeSynchronizer::SynchronizeTrees(layer_tree_root.get(), |