| Index: content/renderer/media/android/webmediaplayer_android.cc
|
| diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc
|
| index d23206905839416e823191d6d39145988b97d5bc..c6f4aca7df68a78dfad3e96056e22144cf166d53 100644
|
| --- a/content/renderer/media/android/webmediaplayer_android.cc
|
| +++ b/content/renderer/media/android/webmediaplayer_android.cc
|
| @@ -1196,8 +1196,12 @@ void WebMediaPlayerAndroid::ReallocateVideoFrame() {
|
| GLuint texture_target = kGLTextureExternalOES;
|
| GLuint texture_id_ref = gl->CreateAndConsumeTextureCHROMIUM(
|
| texture_target, texture_mailbox_.name);
|
| + const GLuint64 fence_sync = gl->InsertFenceSyncCHROMIUM();
|
| gl->Flush();
|
| - gpu::SyncToken texture_mailbox_sync_token(gl->InsertSyncPointCHROMIUM());
|
| +
|
| + gpu::SyncToken texture_mailbox_sync_token;
|
| + gl->GenUnverifiedSyncTokenCHROMIUM(fence_sync,
|
| + texture_mailbox_sync_token.GetData());
|
|
|
| scoped_refptr<VideoFrame> new_frame = VideoFrame::WrapNativeTexture(
|
| media::PIXEL_FORMAT_ARGB,
|
|
|