| Index: content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
| diff --git a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
| index ac97158185fff94a1635fad8b373ddaf61ac250d..90b859629b22518c1bf4a5b51ec8e21d7688198a 100644
|
| --- a/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
| +++ b/content/browser/media/capture/web_contents_video_capture_device_unittest.cc
|
| @@ -347,12 +347,13 @@ class StubClient : public media::VideoCaptureDevice::Client {
|
| MOCK_METHOD0(DoOnIncomingCapturedBuffer, void(void));
|
|
|
| scoped_ptr<media::VideoCaptureDevice::Client::Buffer> ReserveOutputBuffer(
|
| + const gfx::Size& dimensions,
|
| media::VideoPixelFormat format,
|
| - const gfx::Size& dimensions) override {
|
| + media::VideoPixelStorage storage) override {
|
| CHECK_EQ(format, media::PIXEL_FORMAT_I420);
|
| int buffer_id_to_drop = VideoCaptureBufferPool::kInvalidId; // Ignored.
|
| - int buffer_id = buffer_pool_->ReserveForProducer(format, dimensions,
|
| - &buffer_id_to_drop);
|
| + const int buffer_id = buffer_pool_->ReserveForProducer(
|
| + format, storage, dimensions, &buffer_id_to_drop);
|
| if (buffer_id == VideoCaptureBufferPool::kInvalidId)
|
| return NULL;
|
|
|
|
|