Bug 1402824 - Add missing includes in CooperativeThreadPool to fix non-unified build. r=billm
☠☠ backed out by 99ab2cc7f767 ☠ ☠
authorPhilippe Normand <philn@igalia.com>
Mon, 25 Sep 2017 10:37:31 +0100
changeset 670569 db56e6da54d3ae92665335bdf88d4e32fed91cf3
parent 670568 2d59a91b2f2dbfce52ffc3f10245ed92eb260b3b
child 670570 75e36b75f56470e2b6e84b41953ef71682f9ba2c
push id81678
push userkgupta@mozilla.com
push dateTue, 26 Sep 2017 17:28:53 +0000
reviewersbillm
bugs1402824
milestone58.0a1
Bug 1402824 - Add missing includes in CooperativeThreadPool to fix non-unified build. r=billm nsCOMPtr and nsThreadPoolNaming types were used without prior declaration. MozReview-Commit-ID: Gt7gksujs13
xpcom/threads/CooperativeThreadPool.h
--- a/xpcom/threads/CooperativeThreadPool.h
+++ b/xpcom/threads/CooperativeThreadPool.h
@@ -5,18 +5,21 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #ifndef mozilla_CooperativeThreadPool_h
 #define mozilla_CooperativeThreadPool_h
 
 #include "mozilla/Array.h"
 #include "mozilla/CondVar.h"
 #include "mozilla/Mutex.h"
+#include "mozilla/ThreadLocal.h"
 #include "mozilla/UniquePtr.h"
 #include "mozilla/Variant.h"
+#include "nsCOMPtr.h"
+#include "nsThreadUtils.h"
 #include "prthread.h"
 
 // Windows silliness. winbase.h defines an empty no-argument Yield macro.
 #undef Yield
 
 class nsIEventTarget;
 
 namespace mozilla {