Bug 1407248 - Include StaticPtr.h in SystemGroup.cpp. r?billm draft
authorChris Pearce <cpearce@mozilla.com>
Tue, 10 Oct 2017 16:34:27 +0200
changeset 677305 74d3a8b20c4be92d6a04908e90b9b9b652d81895
parent 677214 77a4c52e9987d2359969d7c478183b438b464744
child 678528 713ed2428ff68f6a7373e8d15865f9ecf2a9df8f
push id83757
push userbmo:cpearce@mozilla.com
push dateTue, 10 Oct 2017 14:35:07 +0000
reviewersbillm
bugs1407248
milestone58.0a1
Bug 1407248 - Include StaticPtr.h in SystemGroup.cpp. r?billm We were using a StaticRefPtr without it being fully defined for SystemGroupImpl::sSingleton, resulting in a non-unified build failure. MozReview-Commit-ID: AgSuVvGTri7
xpcom/threads/SystemGroup.cpp
--- a/xpcom/threads/SystemGroup.cpp
+++ b/xpcom/threads/SystemGroup.cpp
@@ -3,16 +3,17 @@
 /* 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 "SystemGroup.h"
 
 #include "mozilla/AbstractThread.h"
 #include "mozilla/Move.h"
+#include "mozilla/StaticPtr.h"
 #include "mozilla/UniquePtr.h"
 #include "nsINamed.h"
 
 using namespace mozilla;
 
 class SystemGroupImpl final : public SchedulerGroup
 {
 public: