summaryrefslogtreecommitdiffstats
path: root/dom/canvas/WebGLContextTextures.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/canvas/WebGLContextTextures.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/canvas/WebGLContextTextures.cpp b/dom/canvas/WebGLContextTextures.cpp
index e65533ec94..2bc56f4b05 100644
--- a/dom/canvas/WebGLContextTextures.cpp
+++ b/dom/canvas/WebGLContextTextures.cpp
@@ -96,7 +96,7 @@ void WebGLContext::BindTexture(GLenum rawTarget, WebGLTexture* newTex) {
return;
}
- const TexTarget texTarget(rawTarget);
+ const auto texTarget = TexTarget(rawTarget);
if (newTex) {
if (!newTex->BindTexture(texTarget)) return;
} else {