Bug 974360 - Disallow Skia's use of static global initialisers r=vlad
authorGeorge Wright <george@mozilla.com>
Wed, 19 Feb 2014 17:26:45 -0500
changeset 169967 361cea233edd37bdbaf3ddc40f89272dfb993781
parent 169966 257ba5b4593a3682cbfcec5c128c9c49bd0156d9
child 169968 7e6f445ceecd93877a8fae3a76a7b3993e39bb62
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersvlad
bugs974360
milestone30.0a1
Bug 974360 - Disallow Skia's use of static global initialisers r=vlad
gfx/skia/trunk/include/config/SkUserConfig.h
--- a/gfx/skia/trunk/include/config/SkUserConfig.h
+++ b/gfx/skia/trunk/include/config/SkUserConfig.h
@@ -197,8 +197,10 @@
 #  endif
 
 #  if defined(SK_BUILD_FOR_WIN32)
 #    define SK_MUTEX_PLATFORM_H "skia/SkMutex_win.h"
 #  else
 #    define SK_MUTEX_PLATFORM_H "skia/SkMutex_pthread.h"
 #  endif
 #endif
+
+#define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0