Index: cc/layers/picture_layer_impl_unittest.cc |
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc |
index a4c5298a8e6ebd73f2698af678ad0cbb67b7c0dc..ca8285ea930b0fc8e6488751984bc72315c8858f 100644 |
--- a/cc/layers/picture_layer_impl_unittest.cc |
+++ b/cc/layers/picture_layer_impl_unittest.cc |
@@ -1323,8 +1323,10 @@ TEST_F(PictureLayerImplTest, HugeMasksGetScaledDown) { |
pending_layer_->SetMaskLayer(mask_ptr.Pass()); |
pending_layer_->SetHasRenderSurface(true); |
+ host_impl_.pending_tree()->BuildPropertyTreesForTesting(); |
host_impl_.AdvanceToNextFrame(base::TimeDelta::FromMilliseconds(1)); |
bool update_lcd_text = false; |
+ host_impl_.pending_tree()->BuildPropertyTreesForTesting(); |
ajuma
2015/07/09 14:50:15
Do we need to rebuild property trees again? (Has a
jaydasika
2015/07/09 15:11:49
Done. Its not required here.
|
host_impl_.pending_tree()->UpdateDrawProperties(update_lcd_text); |
FakePictureLayerImpl* pending_mask = |
@@ -1452,8 +1454,10 @@ TEST_F(PictureLayerImplTest, ScaledMaskLayer) { |
pending_layer_->SetMaskLayer(mask_ptr.Pass()); |
pending_layer_->SetHasRenderSurface(true); |
+ host_impl_.pending_tree()->BuildPropertyTreesForTesting(); |
host_impl_.AdvanceToNextFrame(base::TimeDelta::FromMilliseconds(1)); |
bool update_lcd_text = false; |
+ host_impl_.pending_tree()->BuildPropertyTreesForTesting(); |
ajuma
2015/07/09 14:50:15
Here too, do we need to rebuild again?
jaydasika
2015/07/09 15:11:49
Done. Not required here too
|
host_impl_.pending_tree()->UpdateDrawProperties(update_lcd_text); |
FakePictureLayerImpl* pending_mask = |