From 5f50822601335cd935bf3031a744430c30ff0e20 Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Wed, 29 Jul 2015 18:08:07 -0400 Subject: [PATCH] Bug 1150944 - Fix windows build bustage. CLOSED TREE --- dom/canvas/WebGLContext.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dom/canvas/WebGLContext.cpp b/dom/canvas/WebGLContext.cpp index a6c20490a0c2..aea77730c249 100644 --- a/dom/canvas/WebGLContext.cpp +++ b/dom/canvas/WebGLContext.cpp @@ -570,8 +570,7 @@ CreateHeadlessANGLE(CreateContextFlags flags, const nsCOMPtr& gfxInf nsRefPtr gl; #ifdef XP_WIN - gl = gl::GLContextProviderEGL::CreateHeadless(requireCompatProfile, - forceEnabled); + gl = gl::GLContextProviderEGL::CreateHeadless(flags);, if (!gl) { webgl->GenerateWarning("Error during ANGLE OpenGL init."); return nullptr;