Bug 1404305 - Include nsCOMArray.h and SystemGroup in nsThreadPool.cpp to fix the build in non-unified mode. r?froydnj draft
authorPhilippe Normand <philn@igalia.com>
Thu, 28 Sep 2017 14:32:26 +0100
changeset 672606 8f7ab2b4eb4e5fa8e5b2f57ec83415cec6253107
parent 672605 61aa588fb5284aec2f3c22bf0e031801764f04cf
child 733846 0009e48cee370f295b412ceef874add6cd7d7053
push id82294
push userbmo:cpearce@mozilla.com
push dateFri, 29 Sep 2017 12:46:14 +0000
reviewersfroydnj
bugs1404305
milestone58.0a1
Bug 1404305 - Include nsCOMArray.h and SystemGroup in nsThreadPool.cpp to fix the build in non-unified mode. r?froydnj MozReview-Commit-ID: 1bZHw4TS9L1
xpcom/threads/nsThreadPool.cpp
--- a/xpcom/threads/nsThreadPool.cpp
+++ b/xpcom/threads/nsThreadPool.cpp
@@ -1,22 +1,24 @@
 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
+#include "nsCOMArray.h"
 #include "nsIClassInfoImpl.h"
 #include "nsThreadPool.h"
 #include "nsThreadManager.h"
 #include "nsThread.h"
 #include "nsMemory.h"
 #include "nsAutoPtr.h"
 #include "prinrval.h"
 #include "mozilla/Logging.h"
+#include "mozilla/SystemGroup.h"
 #include "nsThreadSyncDispatch.h"
 
 using namespace mozilla;
 
 static LazyLogModule sThreadPoolLog("nsThreadPool");
 #ifdef LOG
 #undef LOG
 #endif