diff --git a/dom/canvas/WebGLFramebuffer.cpp b/dom/canvas/WebGLFramebuffer.cpp index 448f1e58f981..3d4b71b11036 100644 --- a/dom/canvas/WebGLFramebuffer.cpp +++ b/dom/canvas/WebGLFramebuffer.cpp @@ -624,7 +624,7 @@ WebGLFramebuffer::FramebufferTexture2D(GLenum attachment, TexImageTarget texImag return; if (tex) { - if (!tex->HasEveryBeenBound()) { + if (!tex->HasEverBeenBound()) { mContext->ErrorInvalidOperation("framebufferTexture2D: the texture" " is not the name of a texture."); return;