Index: gpu/command_buffer/service/mailbox_manager_sync.cc |
diff --git a/gpu/command_buffer/service/mailbox_manager_sync.cc b/gpu/command_buffer/service/mailbox_manager_sync.cc |
index be12b3a8fe86cbe3408c57cbfb65ca6411ddaec2..1f1c149a7ef457f444e69c3cadedb1c73f42e206 100644 |
--- a/gpu/command_buffer/service/mailbox_manager_sync.cc |
+++ b/gpu/command_buffer/service/mailbox_manager_sync.cc |
@@ -176,7 +176,7 @@ bool MailboxManagerSync::SkipTextureWorkarounds(const Texture* texture) { |
// Cannot support mips due to support mismatch between |
// EGL_KHR_gl_texture_2D_image and glEGLImageTargetTexture2DOES for |
// texture levels. |
- bool has_mips = texture->NeedsMips() && texture->texture_complete(); |
+ bool has_mips = texture->NeedsMips() && texture->texture_2d_complete(); |
return texture->target() != GL_TEXTURE_2D || has_mips; |
} |