Bug 1374596: P6. More missing headers fixes. r?padenot draft
authorJean-Yves Avenard <jyavenard@mozilla.com>
Tue, 20 Jun 2017 17:35:26 +0200
changeset 598128 0e8963fff66e529a5ff70fe73efe4055f68e93a0
parent 598127 1f9f3715f397cb1827b661a510283a2263a5f6b5
child 598129 4e97a8dc0900bfdf53fd1cf0c92952bc7e730275
push id65143
push userbmo:jyavenard@mozilla.com
push dateWed, 21 Jun 2017 12:29:21 +0000
reviewerspadenot
bugs1374596
milestone56.0a1
Bug 1374596: P6. More missing headers fixes. r?padenot MozReview-Commit-ID: 5VYScGXOJsE
dom/media/MediaTimer.h
dom/media/MemoryBlockCache.cpp
--- a/dom/media/MediaTimer.h
+++ b/dom/media/MediaTimer.h
@@ -2,16 +2,17 @@
 /* vim:set ts=2 sw=2 sts=2 et cindent: */
 /* 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/. */
 
 #if !defined(MediaTimer_h_)
 #define MediaTimer_h_
 
+#include "mozilla/AbstractThread.h"
 #include "mozilla/IntegerPrintfMacros.h"
 #include "mozilla/Monitor.h"
 #include "mozilla/MozPromise.h"
 #include "mozilla/TimeStamp.h"
 
 #include <queue>
 
 #include "nsITimer.h"
--- a/dom/media/MemoryBlockCache.cpp
+++ b/dom/media/MemoryBlockCache.cpp
@@ -4,16 +4,17 @@
  * 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 "MemoryBlockCache.h"
 
 #include "MediaPrefs.h"
 #include "mozilla/Atomics.h"
 #include "mozilla/Logging.h"
+#include "mozilla/Telemetry.h"
 #include "prsystem.h"
 
 namespace mozilla {
 
 #undef LOG
 LazyLogModule gMemoryBlockCacheLog("MemoryBlockCache");
 #define LOG(x, ...)                                                            \
   MOZ_LOG(gMemoryBlockCacheLog, LogLevel::Debug, ("%p " x, this, ##__VA_ARGS__))