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
--- 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 {