| Index: content/common/gpu/client/gl_helper.cc
|
| diff --git a/content/common/gpu/client/gl_helper.cc b/content/common/gpu/client/gl_helper.cc
|
| index fa4430ee7c971d5eaddd2ae723669be11a53e34f..5a36836a54d892d2a9f6c3b242f588f7a5c452cd 100644
|
| --- a/content/common/gpu/client/gl_helper.cc
|
| +++ b/content/common/gpu/client/gl_helper.cc
|
| @@ -827,8 +827,6 @@ gpu::MailboxHolder GLHelper::ProduceMailboxHolderFromTexture(
|
| GLuint texture_id) {
|
| gpu::Mailbox mailbox;
|
| gl_->GenMailboxCHROMIUM(mailbox.name);
|
| - if (mailbox.IsZero())
|
| - return gpu::MailboxHolder();
|
| content::ScopedTextureBinder<GL_TEXTURE_2D> texture_binder(gl_, texture_id);
|
| gl_->ProduceTextureCHROMIUM(GL_TEXTURE_2D, mailbox.name);
|
| return gpu::MailboxHolder(mailbox, GL_TEXTURE_2D, InsertSyncPoint());
|
|
|