Bug 1399825 - Include nsXULAppAPI.h in nsThreadManager.cpp. r=Ms2ger
authorPhilippe Normand <philn@igalia.com>
Thu, 14 Sep 2017 12:51:41 +0100
changeset 380895 38e7e0bba03684d37c8331667f6a1b2df2030670
parent 380894 29713567c35d87d08c5d755712763b15c672208f
child 380897 5eef4a7618457f27848d5fbcf203470b5065f607
child 381018 8e818b5e9b6bef0fc1a5c527ecf30b0d56a02f14
push id95005
push userryanvm@gmail.com
push dateThu, 14 Sep 2017 15:44:39 +0000
treeherdermozilla-inbound@38e7e0bba036 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMs2ger
bugs1399825
milestone57.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 1399825 - Include nsXULAppAPI.h in nsThreadManager.cpp. r=Ms2ger This ensures XRE_IsContentProcess() is defined, as it's used in this file. MozReview-Commit-ID: GwBYcFBiUBK
xpcom/threads/nsThreadManager.cpp
--- a/xpcom/threads/nsThreadManager.cpp
+++ b/xpcom/threads/nsThreadManager.cpp
@@ -5,16 +5,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "nsThreadManager.h"
 #include "nsThread.h"
 #include "nsThreadUtils.h"
 #include "nsIClassInfoImpl.h"
 #include "nsTArray.h"
 #include "nsAutoPtr.h"
+#include "nsXULAppAPI.h"
 #include "LabeledEventQueue.h"
 #include "MainThreadQueue.h"
 #include "mozilla/AbstractThread.h"
 #include "mozilla/EventQueue.h"
 #include "mozilla/Preferences.h"
 #include "mozilla/Scheduler.h"
 #include "mozilla/SystemGroup.h"
 #include "mozilla/ThreadEventQueue.h"