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