| Index: cc/layers/picture_layer_unittest.cc
|
| diff --git a/cc/layers/picture_layer_unittest.cc b/cc/layers/picture_layer_unittest.cc
|
| index 2d5874c1485396b3271680b32224b8db0b1fd514..98f8cedb34855580b5d8b666b47fa9392d31c237 100644
|
| --- a/cc/layers/picture_layer_unittest.cc
|
| +++ b/cc/layers/picture_layer_unittest.cc
|
| @@ -389,13 +389,11 @@ TEST(PictureLayerTest, ClearVisibleRectWhenNoTiling) {
|
| EXPECT_EQ(2, host->source_frame_number());
|
|
|
| host_impl.ActivateSyncTree();
|
| - host_impl.active_tree()->SetRootLayerFromLayerListForTesting();
|
|
|
| // By updating the draw proprties on the active tree, we will set the viewport
|
| // rect for tile priorities to something non-empty.
|
| const bool can_use_lcd_text = false;
|
| - host_impl.active_tree()->property_trees()->needs_rebuild = true;
|
| - host_impl.active_tree()->BuildLayerListAndPropertyTreesForTesting();
|
| + host_impl.active_tree()->BuildPropertyTreesForTesting();
|
| host_impl.active_tree()->UpdateDrawProperties(can_use_lcd_text);
|
|
|
| layer->SetBounds(gfx::Size(11, 11));
|
|
|