| Index: content/renderer/media/android/stream_texture_factory_synchronous_impl.cc
|
| diff --git a/content/renderer/media/android/stream_texture_factory_synchronous_impl.cc b/content/renderer/media/android/stream_texture_factory_synchronous_impl.cc
|
| index d92d3ab876f14bc34b9d7005ae12b939f965eb16..314775b6c5501b9b8dcf8b1d85f4043dba30011c 100644
|
| --- a/content/renderer/media/android/stream_texture_factory_synchronous_impl.cc
|
| +++ b/content/renderer/media/android/stream_texture_factory_synchronous_impl.cc
|
| @@ -200,8 +200,8 @@ unsigned StreamTextureFactorySynchronousImpl::CreateStreamTexture(
|
| unsigned stream_id = 0;
|
| GLES2Interface* gl = context_provider_->ContextGL();
|
| gl->GenTextures(1, texture_id);
|
| - stream_id = gl->CreateStreamTextureCHROMIUM(*texture_id);
|
| -
|
| + gl->ShallowFlushCHROMIUM();
|
| + stream_id = context_provider_->CreateStreamTexture(*texture_id);
|
| gl->GenMailboxCHROMIUM(texture_mailbox->name);
|
| gl->ProduceTextureDirectCHROMIUM(
|
| *texture_id, texture_target, texture_mailbox->name);
|
|
|