Index: content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc |
diff --git a/content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc b/content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc |
index f84331486ec107516e91c1c4d47df40e8e52e810..093700cd51faae58b878a1437183e1fd14bd0ed7 100644 |
--- a/content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc |
+++ b/content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc |
@@ -19,6 +19,7 @@ |
#include "media/base/video_frame.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/WebKit/public/web/WebHeap.h" |
+#include "third_party/webrtc/api/video/i420_buffer.h" |
namespace content { |
@@ -125,7 +126,7 @@ TEST_F(MediaStreamRemoteVideoSourceTest, StartTrack) { |
rtc::scoped_refptr<webrtc::I420Buffer> buffer( |
new rtc::RefCountedObject<webrtc::I420Buffer>(320, 240)); |
- buffer->SetToBlack(); |
+ webrtc::I420Buffer::SetBlack(buffer); |
source()->SinkInterfaceForTest()->OnFrame( |
webrtc::VideoFrame(buffer, webrtc::kVideoRotation_0, 1000)); |