Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: webrtc/video/video_send_stream_tests.cc

Issue 2477773002: Revert of move deprected functions from EncodedImageCallback and RtpRtcp (Closed)
Patch Set: Silly mistake in webrtc/test/fake_encoder.cc Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/video/payload_router_unittest.cc ('k') | webrtc/video/vie_encoder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2b28f4fad47169625cefcf2a85412294c8acc9f8..6b11b947265b54533a593037193ab7adbe36b8dc 100644
--- a/webrtc/video/video_send_stream_tests.cc
+++ b/webrtc/video/video_send_stream_tests.cc
@@ -2419,10 +2419,8 @@ TEST_F(VideoSendStreamTest, ReportsSentResolution) {
encoded._encodedWidth = kEncodedResolution[i].width;
encoded._encodedHeight = kEncodedResolution[i].height;
RTC_DCHECK(callback_);
- if (callback_->OnEncodedImage(encoded, &specifics, nullptr).error !=
- EncodedImageCallback::Result::OK) {
+ if (callback_->Encoded(encoded, &specifics, nullptr) != 0)
return -1;
- }
}
observation_complete_.Set();
« no previous file with comments | « webrtc/video/payload_router_unittest.cc ('k') | webrtc/video/vie_encoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698