| Index: content/browser/renderer_host/media/desktop_capture_device_unittest.cc
|
| diff --git a/content/browser/renderer_host/media/desktop_capture_device_unittest.cc b/content/browser/renderer_host/media/desktop_capture_device_unittest.cc
|
| index 5a8a145bbda349dd3f26fbf22143f7d89407bfc6..368d2d72d963f8c8589046673374ec060b595379 100644
|
| --- a/content/browser/renderer_host/media/desktop_capture_device_unittest.cc
|
| +++ b/content/browser/renderer_host/media/desktop_capture_device_unittest.cc
|
| @@ -40,8 +40,9 @@ const int kFrameRate = 30;
|
|
|
| class MockDeviceClient : public media::VideoCaptureDevice::Client {
|
| public:
|
| - MOCK_METHOD1(ReserveOutputBuffer,
|
| - scoped_refptr<media::VideoFrame>(const gfx::Size& size));
|
| + MOCK_METHOD2(ReserveOutputBuffer,
|
| + scoped_refptr<Buffer>(media::VideoFrame::Format format,
|
| + const gfx::Size& dimensions));
|
| MOCK_METHOD0(OnError, void());
|
| MOCK_METHOD1(OnFrameInfo, void(const media::VideoCaptureCapability& info));
|
| MOCK_METHOD1(OnFrameInfoChanged,
|
| @@ -52,9 +53,11 @@ class MockDeviceClient : public media::VideoCaptureDevice::Client {
|
| int rotation,
|
| bool flip_vert,
|
| bool flip_horiz));
|
| - MOCK_METHOD2(OnIncomingCapturedVideoFrame,
|
| - void(const scoped_refptr<media::VideoFrame>& frame,
|
| - base::Time timestamp));
|
| + MOCK_METHOD4(OnIncomingCapturedBuffer,
|
| + void(const scoped_refptr<Buffer>& buffer,
|
| + media::VideoFrame::Format format,
|
| + const gfx::Size& dimensions,
|
| + base::Time timestamp));
|
| };
|
|
|
| // TODO(sergeyu): Move this to a separate file where it can be reused.
|
|
|