| Index: cc/resources/video_resource_updater.cc
|
| diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc
|
| index c20d4b143e2ea2e7b388ffd870a28ccb5165b901..a5c31211eb657299b20ec649d8b7a5c5281f7b9c 100644
|
| --- a/cc/resources/video_resource_updater.cc
|
| +++ b/cc/resources/video_resource_updater.cc
|
| @@ -190,9 +190,9 @@ VideoFrameExternalResources VideoResourceUpdater::CreateForSoftwarePlanes(
|
| GLC(gl, gl->GenMailboxCHROMIUM(mailbox.name));
|
| ResourceProvider::ScopedWriteLockGL lock(resource_provider_,
|
| resource_id);
|
| - GLC(gl, gl->BindTexture(GL_TEXTURE_2D, lock.texture_id()));
|
| - GLC(gl, gl->ProduceTextureCHROMIUM(GL_TEXTURE_2D, mailbox.name));
|
| - GLC(gl, gl->BindTexture(GL_TEXTURE_2D, 0));
|
| + GLC(gl,
|
| + gl->ProduceTextureDirectCHROMIUM(
|
| + lock.texture_id(), GL_TEXTURE_2D, mailbox.name));
|
| }
|
|
|
| if (resource_id)
|
|
|