| Index: media/base/video_frame_unittest.cc
|
| diff --git a/media/base/video_frame_unittest.cc b/media/base/video_frame_unittest.cc
|
| index 18e18932599ea5c17c5adc8a3ed84d1b0cabb03a..eabb21b0dc1edfd3aa8b7becf0d9808f086b910f 100644
|
| --- a/media/base/video_frame_unittest.cc
|
| +++ b/media/base/video_frame_unittest.cc
|
| @@ -274,8 +274,8 @@ static void TextureCallback(gpu::SyncToken* called_sync_token,
|
| // Verify the gpu::MailboxHolder::ReleaseCallback is called when VideoFrame is
|
| // destroyed with the default release sync point.
|
| TEST(VideoFrame, TextureNoLongerNeededCallbackIsCalled) {
|
| - gpu::SyncToken called_sync_token(gpu::CommandBufferNamespace::GPU_IO, 0, 1,
|
| - 1);
|
| + gpu::SyncToken called_sync_token(gpu::CommandBufferNamespace::GPU_IO, 0,
|
| + gpu::CommandBufferId::FromUnsafeValue(1), 1);
|
|
|
| {
|
| scoped_refptr<VideoFrame> frame = VideoFrame::WrapNativeTexture(
|
| @@ -321,7 +321,8 @@ TEST(VideoFrame,
|
| const int kPlanesNum = 3;
|
| const gpu::CommandBufferNamespace kNamespace =
|
| gpu::CommandBufferNamespace::GPU_IO;
|
| - const uint64_t kCommandBufferId = 0x123;
|
| + const gpu::CommandBufferId kCommandBufferId =
|
| + gpu::CommandBufferId::FromUnsafeValue(0x123);
|
| gpu::Mailbox mailbox[kPlanesNum];
|
| for (int i = 0; i < kPlanesNum; ++i) {
|
| mailbox[i].name[0] = 50 + 1;
|
|
|