Index: cc/resources/picture_layer_tiling_set_unittest.cc |
diff --git a/cc/resources/picture_layer_tiling_set_unittest.cc b/cc/resources/picture_layer_tiling_set_unittest.cc |
index 91a7ce892dd6a91cb06aa76a194adb5ba60b42f2..5d174cf49d5ae6505d28a3fd4a12e6ddaaf74e5c 100644 |
--- a/cc/resources/picture_layer_tiling_set_unittest.cc |
+++ b/cc/resources/picture_layer_tiling_set_unittest.cc |
@@ -73,6 +73,7 @@ class PictureLayerTilingSetTestWithResources : public testing::Test { |
FakePictureLayerTilingClient client(resource_provider.get()); |
client.SetTileSize(gfx::Size(256, 256)); |
+ client.set_tree(PENDING_TREE); |
gfx::Size layer_bounds(1000, 800); |
PictureLayerTilingSet set(&client, layer_bounds); |
@@ -153,7 +154,9 @@ class PictureLayerTilingSetSyncTest : public testing::Test { |
source_bounds_(gfx::Size(30, 20)), |
target_bounds_(gfx::Size(30, 30)) { |
source_client_.SetTileSize(tile_size_); |
+ source_client_.set_tree(PENDING_TREE); |
target_client_.SetTileSize(tile_size_); |
+ target_client_.set_tree(PENDING_TREE); |
source_.reset(new PictureLayerTilingSet(&source_client_, source_bounds_)); |
target_.reset(new PictureLayerTilingSet(&target_client_, target_bounds_)); |
} |