Index: webrtc/video/video_send_stream_tests.cc |
diff --git a/webrtc/video/video_send_stream_tests.cc b/webrtc/video/video_send_stream_tests.cc |
index d138893ba4cc293155b8daa7595c0f3eb715ef61..e5ddbb440621f6397fda07df48b627a7582fe8e4 100644 |
--- a/webrtc/video/video_send_stream_tests.cc |
+++ b/webrtc/video/video_send_stream_tests.cc |
@@ -2397,8 +2397,10 @@ TEST_F(VideoSendStreamTest, ReportsSentResolution) { |
encoded._encodedWidth = kEncodedResolution[i].width; |
encoded._encodedHeight = kEncodedResolution[i].height; |
RTC_DCHECK(callback_); |
- if (callback_->Encoded(encoded, &specifics, nullptr) != 0) |
+ if (callback_->OnEncodedImage(encoded, &specifics, nullptr).error != |
+ EncodedImageCallback::Result::OK) { |
return -1; |
+ } |
} |
observation_complete_.Set(); |