| Index: cc/test/layer_tree_pixel_test.cc
|
| diff --git a/cc/test/layer_tree_pixel_test.cc b/cc/test/layer_tree_pixel_test.cc
|
| index 007cdadf908a7f833b7d782ad93bb42408d51697..82045a42c43dd06e91333a64afef477faebc24f2 100644
|
| --- a/cc/test/layer_tree_pixel_test.cc
|
| +++ b/cc/test/layer_tree_pixel_test.cc
|
| @@ -106,8 +106,7 @@ void LayerTreePixelTest::AfterTest() {
|
|
|
| scoped_refptr<SolidColorLayer> LayerTreePixelTest::CreateSolidColorLayer(
|
| const gfx::Rect& rect, SkColor color) {
|
| - scoped_refptr<SolidColorLayer> layer =
|
| - SolidColorLayer::Create(layer_settings());
|
| + scoped_refptr<SolidColorLayer> layer = SolidColorLayer::Create();
|
| layer->SetIsDrawable(true);
|
| layer->SetBounds(rect.size());
|
| layer->SetPosition(gfx::PointF(rect.origin()));
|
| @@ -197,7 +196,7 @@ void LayerTreePixelTest::RunPixelTestWithReadbackTarget(
|
| }
|
|
|
| void LayerTreePixelTest::SetupTree() {
|
| - scoped_refptr<Layer> root = Layer::Create(layer_settings());
|
| + scoped_refptr<Layer> root = Layer::Create();
|
| root->SetBounds(content_root_->bounds());
|
| root->AddChild(content_root_);
|
| layer_tree_host()->SetRootLayer(root);
|
|
|