Index: cc/trees/layer_tree_host_pixeltest_blending.cc |
diff --git a/cc/trees/layer_tree_host_pixeltest_blending.cc b/cc/trees/layer_tree_host_pixeltest_blending.cc |
index 980d692ee88a1237bcccf207139c4c24f43fc604..a53963ea03319de5844f8abc90dff68011ea52cc 100644 |
--- a/cc/trees/layer_tree_host_pixeltest_blending.cc |
+++ b/cc/trees/layer_tree_host_pixeltest_blending.cc |
@@ -141,8 +141,7 @@ class LayerTreeHostBlendingPixelTest : public LayerTreeHostPixelResourceTest { |
canvas->drawRect( |
SkRect::MakeXYWH(0, i * kLaneHeight, kLaneWidth, kLaneHeight), paint); |
} |
- scoped_refptr<PictureImageLayer> layer = |
- PictureImageLayer::Create(layer_settings()); |
+ scoped_refptr<PictureImageLayer> layer = PictureImageLayer::Create(); |
layer->SetIsDrawable(true); |
layer->SetBounds(gfx::Size(width, height)); |
skia::RefPtr<const SkImage> image = |
@@ -154,8 +153,7 @@ class LayerTreeHostBlendingPixelTest : public LayerTreeHostPixelResourceTest { |
void SetupMaskLayer(scoped_refptr<Layer> layer) { |
const int kMaskOffset = 2; |
gfx::Size bounds = layer->bounds(); |
- scoped_refptr<PictureImageLayer> mask = |
- PictureImageLayer::Create(layer_settings()); |
+ scoped_refptr<PictureImageLayer> mask = PictureImageLayer::Create(); |
mask->SetIsDrawable(true); |
mask->SetIsMask(true); |
mask->SetBounds(bounds); |