Backout changeset aad9086f8efd (bug 1226376) for breaking Opt static-analysis build.
authorJonathan Kew <jkew@mozilla.com>
Wed, 09 Dec 2015 13:21:42 -0500
changeset 310149 ae540161167aa228eca563fa93e45aac567b2015
parent 310148 91c339686ee5a2eca5afcd30ee7363e89ccba923
child 310150 d11cceb2f732fa9c52a7743ee3b835e457ba35ab
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1226376
milestone45.0a1
backs outaad9086f8efdb9b6b049234c13c0c0fd261a8c79
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
Backout changeset aad9086f8efd (bug 1226376) for breaking Opt static-analysis build.
xpcom/base/StaticMutex.h
--- a/xpcom/base/StaticMutex.h
+++ b/xpcom/base/StaticMutex.h
@@ -21,17 +21,17 @@ namespace mozilla {
  * thread-safe manner the first time it's used.
  *
  * The same caveats that apply to StaticAutoPtr apply to StaticMutex.  In
  * particular, do not use StaticMutex as a stack variable or a class instance
  * variable, because this class relies on the fact that global variablies are
  * initialized to 0 in order to initialize mMutex.  It is only safe to use
  * StaticMutex as a global or static variable.
  */
-class MOZ_ONLY_USED_TO_AVOID_STATIC_CONSTRUCTORS StaticMutex
+class StaticMutex
 {
 public:
   // In debug builds, check that mMutex is initialized for us as we expect by
   // the compiler.  In non-debug builds, don't declare a constructor so that
   // the compiler can see that the constructor is trivial.
 #ifdef DEBUG
   StaticMutex()
   {