| Index: media/base/video_frame_unittest.cc
|
| diff --git a/media/base/video_frame_unittest.cc b/media/base/video_frame_unittest.cc
|
| index 38485c2e1ce65e390fdc1f34ae61039728608236..2e56b5289d0bde0393ca343c492987df21f9e82c 100644
|
| --- a/media/base/video_frame_unittest.cc
|
| +++ b/media/base/video_frame_unittest.cc
|
| @@ -255,11 +255,10 @@ TEST(VideoFrame, TextureNoLongerNeededCallbackIsCalled) {
|
| make_scoped_ptr(
|
| new gpu::MailboxHolder(gpu::Mailbox(), 5, 0 /* sync_point */)),
|
| base::Bind(&TextureCallback, &called_sync_point),
|
| - gfx::Size(10, 10), // coded_size
|
| - gfx::Rect(10, 10), // visible_rect
|
| - gfx::Size(10, 10), // natural_size
|
| - base::TimeDelta(), // timestamp
|
| - VideoFrame::ReadPixelsCB()); // read_pixels_cb
|
| + gfx::Size(10, 10), // coded_size
|
| + gfx::Rect(10, 10), // visible_rect
|
| + gfx::Size(10, 10), // natural_size
|
| + base::TimeDelta()); // timestamp
|
| }
|
| // Nobody set a sync point to |frame|, so |frame| set |called_sync_point| to 0
|
| // as default value.
|
| @@ -296,11 +295,10 @@ TEST(VideoFrame, TextureNoLongerNeededCallbackAfterTakingAndReleasingMailbox) {
|
| scoped_refptr<VideoFrame> frame = VideoFrame::WrapNativeTexture(
|
| make_scoped_ptr(new gpu::MailboxHolder(mailbox, target, sync_point)),
|
| base::Bind(&TextureCallback, &called_sync_point),
|
| - gfx::Size(10, 10), // coded_size
|
| - gfx::Rect(10, 10), // visible_rect
|
| - gfx::Size(10, 10), // natural_size
|
| - base::TimeDelta(), // timestamp
|
| - VideoFrame::ReadPixelsCB()); // read_pixels_cb
|
| + gfx::Size(10, 10), // coded_size
|
| + gfx::Rect(10, 10), // visible_rect
|
| + gfx::Size(10, 10), // natural_size
|
| + base::TimeDelta()); // timestamp
|
|
|
| const gpu::MailboxHolder* mailbox_holder = frame->mailbox_holder();
|
|
|
|
|