Index: webrtc/media/engine/webrtcvideoengine2_unittest.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine2_unittest.cc b/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
index 5944883e1c20d68b799e20d7dfcb59b94e7ddb77..8349469669816264886b98ec4f9759bf5aa2c2b7 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
+++ b/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
@@ -84,7 +84,7 @@ rtc::scoped_refptr<webrtc::VideoFrameBuffer> CreateBlackFrameBuffer( |
int height) { |
rtc::scoped_refptr<webrtc::I420Buffer> buffer = |
webrtc::I420Buffer::Create(width, height); |
- buffer->SetToBlack(); |
+ webrtc::I420Buffer::SetBlack(buffer); |
return buffer; |
} |