Index: media/base/video_frame_unittest.cc |
diff --git a/media/base/video_frame_unittest.cc b/media/base/video_frame_unittest.cc |
index ee2a454dca249052b581acc3406c5de2c8277b75..157986f3d63aaf7c37813970cc920d996c3a5fbe 100644 |
--- a/media/base/video_frame_unittest.cc |
+++ b/media/base/video_frame_unittest.cc |
@@ -269,7 +269,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, 1, 1); |
+ gpu::SyncToken called_sync_token(gpu::CommandBufferNamespace::GPU_IO, 0, 1, |
+ 1); |
{ |
scoped_refptr<VideoFrame> frame = VideoFrame::WrapNativeTexture( |
@@ -321,10 +322,10 @@ TEST(VideoFrame, |
mailbox[i].name[0] = 50 + 1; |
} |
- gpu::SyncToken sync_token(kNamespace, kCommandBufferId, 7); |
+ gpu::SyncToken sync_token(kNamespace, 0, kCommandBufferId, 7); |
sync_token.SetVerifyFlush(); |
uint32 target = 9; |
- gpu::SyncToken release_sync_token(kNamespace, kCommandBufferId, 111); |
+ gpu::SyncToken release_sync_token(kNamespace, 0, kCommandBufferId, 111); |
release_sync_token.SetVerifyFlush(); |
gpu::SyncToken called_sync_token; |