Bug 1150944 - Fix windows build bustage. CLOSED TREE
authorMatt Woodrow <mwoodrow@mozilla.com>
Wed, 29 Jul 2015 18:08:07 -0400
changeset 287004 06156197d11dfc69f56f4b4ad370017ff2cf2701
parent 287003 6eebf397a8c29941862a164d3c3209707ae1faec
child 287005 eabf1cf9b676e9eb0a8790d4ec1dba0f78121bfc
push id5067
push userraliiev@mozilla.com
push dateMon, 21 Sep 2015 14:04:52 +0000
treeherdermozilla-beta@14221ffe5b2f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1150944
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1150944 - Fix windows build bustage. CLOSED TREE
dom/canvas/WebGLContext.cpp
--- a/dom/canvas/WebGLContext.cpp
+++ b/dom/canvas/WebGLContext.cpp
@@ -565,18 +565,17 @@ CreateHeadlessNativeGL(CreateContextFlag
 // Eventually, we want to be able to pick ANGLE-EGL or native EGL.
 static already_AddRefed<GLContext>
 CreateHeadlessANGLE(CreateContextFlags flags, const nsCOMPtr<nsIGfxInfo>& gfxInfo,
                     WebGLContext* webgl)
 {
     nsRefPtr<GLContext> 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;
     }
     MOZ_ASSERT(gl->IsANGLE());
 #endif
 
     return gl.forget();