| 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 cf18102263255cb9317c03ba50a9446db04d78a9..448a514f27597d20ff1a1d3a0428b8e4cf181497 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
|
| @@ -348,12 +348,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;
|
|
|
|
|