Index: cc/trees/layer_tree_host_unittest.cc |
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc |
index f188260c48286559b55c4929042e5bff44d7d157..1eed83269857a609d20d7ed3a415f3d069643e74 100644 |
--- a/cc/trees/layer_tree_host_unittest.cc |
+++ b/cc/trees/layer_tree_host_unittest.cc |
@@ -5573,7 +5573,8 @@ class LayerTreeHostTestCrispUpAfterPinchEnds : public LayerTreeHostTest { |
pinch->SetIsContainerForFixedPositionLayers(true); |
root->AddChild(pinch); |
- scoped_ptr<FakePicturePile> pile(new FakePicturePile); |
+ scoped_ptr<FakePicturePile> pile( |
+ new FakePicturePile(0, gfx::Size(100, 100))); |
pile->SetPlaybackAllowedEvent(&playback_allowed_event_); |
scoped_refptr<FakePictureLayer> layer = |
FakePictureLayer::CreateWithRecordingSource(&client_, pile.Pass()); |
@@ -5785,7 +5786,8 @@ class LayerTreeHostTestContinuousDrawWhenCreatingVisibleTiles |
pinch->SetIsContainerForFixedPositionLayers(true); |
root->AddChild(pinch); |
- scoped_ptr<FakePicturePile> pile(new FakePicturePile); |
+ scoped_ptr<FakePicturePile> pile( |
+ new FakePicturePile(0, gfx::Size(100, 100))); |
pile->SetPlaybackAllowedEvent(&playback_allowed_event_); |
scoped_refptr<FakePictureLayer> layer = |
FakePictureLayer::CreateWithRecordingSource(&client_, pile.Pass()); |