| Index: cc/trees/layer_tree_host_unittest_video.cc
|
| diff --git a/cc/trees/layer_tree_host_unittest_video.cc b/cc/trees/layer_tree_host_unittest_video.cc
|
| index ffeda727fe3f30fc38280a8f78b161fcb6918ceb..31854ac68a9b43bdea80045b054dfae027cb155c 100644
|
| --- a/cc/trees/layer_tree_host_unittest_video.cc
|
| +++ b/cc/trees/layer_tree_host_unittest_video.cc
|
| @@ -23,12 +23,12 @@ class LayerTreeHostVideoTestSetNeedsDisplay
|
| : public LayerTreeHostVideoTest {
|
| public:
|
| void SetupTree() override {
|
| - scoped_refptr<Layer> root = Layer::Create();
|
| + scoped_refptr<Layer> root = Layer::Create(layer_settings());
|
| root->SetBounds(gfx::Size(10, 10));
|
| root->SetIsDrawable(true);
|
|
|
| - scoped_refptr<VideoLayer> video =
|
| - VideoLayer::Create(&video_frame_provider_, media::VIDEO_ROTATION_90);
|
| + scoped_refptr<VideoLayer> video = VideoLayer::Create(
|
| + layer_settings(), &video_frame_provider_, media::VIDEO_ROTATION_90);
|
| video->SetPosition(gfx::PointF(3.f, 3.f));
|
| video->SetBounds(gfx::Size(4, 5));
|
| video->SetIsDrawable(true);
|
|
|