From 1a452594b3e3b1d263bc01b01d31f7a240f84ea8 Mon Sep 17 00:00:00 2001 From: Jeff Gilbert Date: Tue, 26 Jul 2016 12:48:55 -0700 Subject: [PATCH] Bug 1286459 - Hotfix. CLOSED TREE MozReview-Commit-ID: 8VrGes96FLs --- dom/canvas/WebGLContextUnchecked.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { }