| Index: webrtc/test/fake_texture_frame.h
|
| diff --git a/webrtc/test/fake_texture_frame.h b/webrtc/test/fake_texture_frame.h
|
| index 9575fae469d6f8029824fbda768957bce661bd50..15b70d8f7b5b5df25e1d9b07f72aba8bf2f8e507 100644
|
| --- a/webrtc/test/fake_texture_frame.h
|
| +++ b/webrtc/test/fake_texture_frame.h
|
| @@ -42,9 +42,9 @@ class FakeNativeHandleBuffer : public NativeHandleBuffer {
|
| new rtc::RefCountedObject<I420Buffer>(width_, height_));
|
| int half_height = (height_ + 1) / 2;
|
| int half_width = (width_ + 1) / 2;
|
| - memset(buffer->MutableData(kYPlane), 0, height_ * width_);
|
| - memset(buffer->MutableData(kUPlane), 0, half_height * half_width);
|
| - memset(buffer->MutableData(kVPlane), 0, half_height * half_width);
|
| + memset(buffer->MutableDataY(), 0, height_ * width_);
|
| + memset(buffer->MutableDataU(), 0, half_height * half_width);
|
| + memset(buffer->MutableDataV(), 0, half_height * half_width);
|
| return buffer;
|
| }
|
| };
|
|
|