diff options
Diffstat (limited to 'chromium/cc/layers/video_frame_provider_client_impl_unittest.cc')
-rw-r--r-- | chromium/cc/layers/video_frame_provider_client_impl_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/cc/layers/video_frame_provider_client_impl_unittest.cc b/chromium/cc/layers/video_frame_provider_client_impl_unittest.cc index 5d03c6700f2..fa4c2e9209e 100644 --- a/chromium/cc/layers/video_frame_provider_client_impl_unittest.cc +++ b/chromium/cc/layers/video_frame_provider_client_impl_unittest.cc @@ -5,7 +5,7 @@ #include "cc/layers/video_frame_provider_client_impl.h" #include "cc/layers/video_layer_impl.h" #include "cc/test/fake_video_frame_provider.h" -#include "cc/test/layer_test_common.h" +#include "cc/test/layer_tree_impl_test_base.h" #include "components/viz/common/frame_sinks/begin_frame_args.h" #include "media/base/video_frame.h" #include "testing/gmock/include/gmock/gmock.h" @@ -79,8 +79,8 @@ class VideoFrameProviderClientImplTest : public testing::Test, void CreateActiveVideoLayer() { gfx::Size layer_size(100, 100); - video_layer_impl_ = impl_.AddChildToRoot<VideoLayerImpl>( - &provider_, media::VIDEO_ROTATION_0); + video_layer_impl_ = + impl_.AddLayer<VideoLayerImpl>(&provider_, media::VIDEO_ROTATION_0); video_layer_impl_->SetBounds(layer_size); video_layer_impl_->SetDrawsContent(true); client_impl_->SetActiveVideoLayer(video_layer_impl_); @@ -92,7 +92,7 @@ class VideoFrameProviderClientImplTest : public testing::Test, protected: FakeVideoFrameProvider provider_; - LayerTestCommon::LayerImplTest impl_; + LayerTreeImplTestBase impl_; scoped_refptr<VideoFrameProviderClientImpl> client_impl_; VideoLayerImpl* video_layer_impl_; scoped_refptr<media::VideoFrame> test_frame_; |