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 b31d3e8539525ccb1203ffb7377b28aac8e3c33f..e2715e3907c6e494d933afdc1e8ffc6c2f74b4bb 100644 |
--- a/cc/trees/layer_tree_host_pixeltest_blending.cc |
+++ b/cc/trees/layer_tree_host_pixeltest_blending.cc |
@@ -137,7 +137,8 @@ class LayerTreeHostBlendingPixelTest : public LayerTreeHostPixelResourceTest { |
canvas.drawRect( |
SkRect::MakeXYWH(0, i * kLaneHeight, kLaneWidth, kLaneHeight), paint); |
} |
- scoped_refptr<PictureImageLayer> layer = PictureImageLayer::Create(); |
+ scoped_refptr<PictureImageLayer> layer = |
+ PictureImageLayer::Create(layer_settings()); |
layer->SetIsDrawable(true); |
layer->SetBounds(gfx::Size(width, height)); |
layer->SetBitmap(backing_store); |
@@ -147,7 +148,8 @@ 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(); |
+ scoped_refptr<PictureImageLayer> mask = |
+ PictureImageLayer::Create(layer_settings()); |
mask->SetIsDrawable(true); |
mask->SetIsMask(true); |
mask->SetBounds(bounds); |