Index: cc/trees/layer_tree_host_impl_unittest.cc |
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc |
index 05ccc45e012fa178678a7101c9dcb7178791e688..9b36447a687f0ae5340f13ac8a44c26440e2230a 100644 |
--- a/cc/trees/layer_tree_host_impl_unittest.cc |
+++ b/cc/trees/layer_tree_host_impl_unittest.cc |
@@ -4577,8 +4577,8 @@ TEST_F(LayerTreeHostImplTest, LayersFreeTextures) { |
gfx::Size(4, 4), 0x80, 0x80, 0x80, base::TimeDelta()); |
FakeVideoFrameProvider provider; |
provider.set_frame(softwareFrame); |
- scoped_ptr<VideoLayerImpl> video_layer = |
- VideoLayerImpl::Create(host_impl_->active_tree(), 4, &provider); |
+ scoped_ptr<VideoLayerImpl> video_layer = VideoLayerImpl::Create( |
+ host_impl_->active_tree(), 4, &provider, media::VIDEO_ROTATION_0); |
video_layer->SetBounds(gfx::Size(10, 10)); |
video_layer->SetContentBounds(gfx::Size(10, 10)); |
video_layer->SetDrawsContent(true); |
@@ -5622,8 +5622,8 @@ TEST_F(LayerTreeHostImplTest, |
// VideoLayerImpl will not be drawn. |
FakeVideoFrameProvider provider; |
- scoped_ptr<VideoLayerImpl> video_layer = |
- VideoLayerImpl::Create(host_impl_->active_tree(), 2, &provider); |
+ scoped_ptr<VideoLayerImpl> video_layer = VideoLayerImpl::Create( |
+ host_impl_->active_tree(), 2, &provider, media::VIDEO_ROTATION_0); |
video_layer->SetBounds(gfx::Size(10, 10)); |
video_layer->SetContentBounds(gfx::Size(10, 10)); |
video_layer->SetDrawsContent(true); |