Bug 1402824 - Include nsIThreadInteral.h in SynchronizedEventQueue to fix non-unified. r=billm
☠☠ backed out by 79b553efb22d ☠ ☠
authorPhilippe Normand <philn@igalia.com>
Mon, 25 Sep 2017 10:56:13 +0100
changeset 670575 1ac08c6d837380fe4be3db71d3e79636f11cf1e6
parent 670574 a414320a455969bfff80664b1896ce5a038ed825
child 670576 e0dd9d0e8bc1a3d00c765153514a6bb119c8980d
push id81678
push userkgupta@mozilla.com
push dateTue, 26 Sep 2017 17:28:53 +0000
reviewersbillm
bugs1402824
milestone58.0a1
Bug 1402824 - Include nsIThreadInteral.h in SynchronizedEventQueue to fix non-unified. r=billm nsIThreadObserver (defined in nsIThreadInternal.h) was used without prior declaration. MozReview-Commit-ID: 9cSuERgUPtl
xpcom/threads/SynchronizedEventQueue.cpp
--- a/xpcom/threads/SynchronizedEventQueue.cpp
+++ b/xpcom/threads/SynchronizedEventQueue.cpp
@@ -1,15 +1,16 @@
 /* -*- 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 "SynchronizedEventQueue.h"
+#include "nsIThreadInternal.h"
 
 using namespace mozilla;
 
 void
 SynchronizedEventQueue::AddObserver(nsIThreadObserver* aObserver)
 {
   MOZ_ASSERT(aObserver);
   MOZ_ASSERT(!mEventObservers.Contains(aObserver));