diff --git a/dom/canvas/WebGLContextUnchecked.cpp b/dom/canvas/WebGLContextUnchecked.cpp index cd05a0b74377..9fe20e03a38e 100644 --- a/dom/canvas/WebGLContextUnchecked.cpp +++ b/dom/canvas/WebGLContextUnchecked.cpp @@ -13,8 +13,8 @@ namespace mozilla { WebGLContextUnchecked::WebGLContextUnchecked(gl::GLContext* _gl) - : mGL_NeverTouchDirectly(_gl) - , gl(mGL_NeverTouchDirectly) // const reference + : mGL_OnlyClearInDestroyResourcesAndContext(_gl) + , gl(mGL_OnlyClearInDestroyResourcesAndContext) // const reference { }