Index: webrtc/media/engine/webrtcvideoengine2_unittest.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine2_unittest.cc b/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
index 0a04fc78caf2e2afe4ca7e5eacad9757456bad7d..e89899e39bc718d5e558886d2945fee94a0e8bea 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
+++ b/webrtc/media/engine/webrtcvideoengine2_unittest.cc |
@@ -69,11 +69,11 @@ static void CreateBlackFrame(webrtc::VideoFrame* video_frame, |
int height) { |
video_frame->CreateEmptyFrame( |
width, height, width, (width + 1) / 2, (width + 1) / 2); |
- memset(video_frame->buffer(webrtc::kYPlane), 16, |
+ memset(video_frame->video_frame_buffer()->MutableDataY(), 16, |
video_frame->allocated_size(webrtc::kYPlane)); |
- memset(video_frame->buffer(webrtc::kUPlane), 128, |
+ memset(video_frame->video_frame_buffer()->MutableDataU(), 128, |
video_frame->allocated_size(webrtc::kUPlane)); |
- memset(video_frame->buffer(webrtc::kVPlane), 128, |
+ memset(video_frame->video_frame_buffer()->MutableDataV(), 128, |
video_frame->allocated_size(webrtc::kVPlane)); |
} |