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

Unified Diff: webrtc/common_video/i420_video_frame_unittest.cc

Issue 1881953002: Delete method webrtc::VideoFrame::native_handle. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Delete the native_handle method. Created 4 years, 8 months 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
Index: webrtc/common_video/i420_video_frame_unittest.cc
diff --git a/webrtc/common_video/i420_video_frame_unittest.cc b/webrtc/common_video/i420_video_frame_unittest.cc
index 9b2bdd762dca60f6e1c8ebca1124a24ca1245f31..b2f59eaae8697b09f6f2627e69acdbac0fa3b47b 100644
--- a/webrtc/common_video/i420_video_frame_unittest.cc
+++ b/webrtc/common_video/i420_video_frame_unittest.cc
@@ -246,7 +246,8 @@ TEST(TestVideoFrame, TextureInitialValues) {
EXPECT_EQ(480, frame.height());
EXPECT_EQ(100u, frame.timestamp());
EXPECT_EQ(10, frame.render_time_ms());
- EXPECT_EQ(handle, frame.native_handle());
+ ASSERT_TRUE(frame.video_frame_buffer() != nullptr);
+ EXPECT_EQ(handle, frame.video_frame_buffer()->native_handle());
frame.set_timestamp(200);
EXPECT_EQ(200u, frame.timestamp());

Powered by Google App Engine
This is Rietveld 408576698