Chromium Code Reviews| Index: cc/layers/layer_position_constraint_unittest.cc |
| diff --git a/cc/layers/layer_position_constraint_unittest.cc b/cc/layers/layer_position_constraint_unittest.cc |
| index c142cfa46755393554a1c1e5dd0991b1f7f63ed4..2ce51c9cca0935a07bef7faf025767e1318b0392 100644 |
| --- a/cc/layers/layer_position_constraint_unittest.cc |
| +++ b/cc/layers/layer_position_constraint_unittest.cc |
| @@ -54,7 +54,8 @@ void ExecuteCalculateDrawProperties(LayerImpl* root_layer) { |
| root_layer->layer_tree_impl()->InnerViewportScrollLayer(); |
| inputs.outer_viewport_scroll_layer = |
| root_layer->layer_tree_impl()->OuterViewportScrollLayer(); |
| - LayerTreeHostCommon::CalculateDrawPropertiesForTesting(&inputs); |
| + EXPECT_FALSE(root_layer->layer_tree_impl()->property_trees()->needs_rebuild); |
| + LayerTreeHostCommon::CalculateDrawProperties(&inputs); |
|
jaydasika
2016/06/09 05:07:54
These tests construct layer tree on main thread an
|
| } |
| class LayerPositionConstraintTest : public testing::Test { |