Index: content/renderer/media/rtc_video_decoder_unittest.cc |
diff --git a/content/renderer/media/rtc_video_decoder_unittest.cc b/content/renderer/media/rtc_video_decoder_unittest.cc |
index 49cb98288b42993a44f6c61e4fdabf9c12254620..1ce30d844e4ddc0bde3649a172beff5652694525 100644 |
--- a/content/renderer/media/rtc_video_decoder_unittest.cc |
+++ b/content/renderer/media/rtc_video_decoder_unittest.cc |
@@ -43,15 +43,15 @@ class RTCVideoDecoderTest : public ::testing::Test, |
supported_profile.min_resolution.SetSize(16, 16); |
supported_profile.max_resolution.SetSize(1920, 1088); |
supported_profile.profile = media::H264PROFILE_MAIN; |
- supported_profiles_.push_back(supported_profile); |
+ capabilities_.supported_profiles.push_back(supported_profile); |
supported_profile.profile = media::VP8PROFILE_ANY; |
- supported_profiles_.push_back(supported_profile); |
+ capabilities_.supported_profiles.push_back(supported_profile); |
EXPECT_CALL(*mock_gpu_factories_.get(), GetTaskRunner()) |
.WillRepeatedly(Return(vda_task_runner_)); |
EXPECT_CALL(*mock_gpu_factories_.get(), |
- GetVideoDecodeAcceleratorSupportedProfiles()) |
- .WillRepeatedly(Return(supported_profiles_)); |
+ GetVideoDecodeAcceleratorCapabilities()) |
+ .WillRepeatedly(Return(capabilities_)); |
EXPECT_CALL(*mock_gpu_factories_.get(), DoCreateVideoDecodeAccelerator()) |
.WillRepeatedly(Return(mock_vda_)); |
EXPECT_CALL(*mock_vda_, Initialize(_, _)) |
@@ -112,7 +112,7 @@ class RTCVideoDecoderTest : public ::testing::Test, |
scoped_ptr<RTCVideoDecoder> rtc_decoder_; |
webrtc::VideoCodec codec_; |
base::Thread vda_thread_; |
- media::VideoDecodeAccelerator::SupportedProfiles supported_profiles_; |
+ media::VideoDecodeAccelerator::Capabilities capabilities_; |
private: |
scoped_refptr<base::SingleThreadTaskRunner> vda_task_runner_; |