From bf61a1b347f48a375383dc0134c68e6714fb7705 Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Mon, 25 Sep 2017 10:37:31 +0100 Subject: [PATCH] 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 --HG-- extra : rebase_source : 18c5572548dc181ffe921154d9da00113a5e0090 --- xpcom/threads/CooperativeThreadPool.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xpcom/threads/CooperativeThreadPool.h b/xpcom/threads/CooperativeThreadPool.h index 531a4df03fd1..0dd41df2e040 100644 --- a/xpcom/threads/CooperativeThreadPool.h +++ b/xpcom/threads/CooperativeThreadPool.h @@ -10,8 +10,11 @@ #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.