Index: cc/layers/picture_image_layer_unittest.cc |
diff --git a/cc/layers/picture_image_layer_unittest.cc b/cc/layers/picture_image_layer_unittest.cc |
index 0ed39c216b2869721c034ad9c746c9009ce205c2..9be4c6c342623734594143cfa1df11e628a61f98 100644 |
--- a/cc/layers/picture_image_layer_unittest.cc |
+++ b/cc/layers/picture_image_layer_unittest.cc |
@@ -6,6 +6,7 @@ |
#include "cc/resources/display_item.h" |
#include "cc/test/skia_common.h" |
+#include "cc/trees/layer_tree_settings.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
#include "third_party/skia/include/core/SkCanvas.h" |
@@ -15,7 +16,8 @@ namespace cc { |
namespace { |
TEST(PictureImageLayerTest, PaintContentsToDisplayList) { |
- scoped_refptr<PictureImageLayer> layer = PictureImageLayer::Create(); |
+ scoped_refptr<PictureImageLayer> layer = |
+ PictureImageLayer::Create(LayerSettings()); |
gfx::Rect layer_rect(200, 200); |
SkBitmap image_bitmap; |
@@ -47,7 +49,8 @@ TEST(PictureImageLayerTest, PaintContentsToDisplayList) { |
} |
TEST(PictureImageLayerTest, PaintContentsToCachedDisplayList) { |
- scoped_refptr<PictureImageLayer> layer = PictureImageLayer::Create(); |
+ scoped_refptr<PictureImageLayer> layer = |
+ PictureImageLayer::Create(LayerSettings()); |
gfx::Rect layer_rect(200, 200); |
SkBitmap image_bitmap; |