bug 900101 - build bustage fix on an CLOSED TREE - r=bjacob IRL
authorGuillaume Abadie <gabadie@mozilla.com>
Fri, 02 Aug 2013 18:26:09 -0400
changeset 153551 d93fe7628f854c488f649312776197cb643e35f2
parent 153550 c24d2c94d6fbdcac250cd52895da023d3a3d4aff
child 153552 94e7bd6f097fbf3418916223f5e09aed8deaf06e
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbjacob
bugs900101
milestone25.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 900101 - build bustage fix on an CLOSED TREE - r=bjacob IRL
gfx/gl/GLContextExtensionGroupQueries.cpp
--- a/gfx/gl/GLContextExtensionGroupQueries.cpp
+++ b/gfx/gl/GLContextExtensionGroupQueries.cpp
@@ -114,17 +114,17 @@ static const ExtensionGroupInfo sExtensi
             GLContext::Extensions_End
         }
     }
 };
 
 static inline const ExtensionGroupInfo&
 GetExtensionGroupInfo(GLContext::GLExtensionGroup extensionGroup)
 {
-    static_assert(ArrayLength(sExtensionGroupInfoArr) == size_t(GLContext::ExtensionGroup_Max),
+    MOZ_ASSERT(ArrayLength(sExtensionGroupInfoArr) == size_t(GLContext::ExtensionGroup_Max),
                   "Mismatched lengths for sExtensionGroupInfos and ExtensionGroup enums");
 
     MOZ_ASSERT(extensionGroup < GLContext::ExtensionGroup_Max,
                "GLContext::GetExtensionGroupInfo : unknown <extensionGroup>");
 
     return sExtensionGroupInfoArr[extensionGroup];
 }