Bug 1233648 - Fix some insufficient includes. r=kinetik. draft
authorJW Wang <jwwang@mozilla.com>
Fri, 18 Dec 2015 15:12:45 +0800
changeset 316280 0fd16ae87592b16d1bc6f5d9542128d7f2987081
parent 316279 96d06dfa08d397a117e9fdf1e56dd7c91f63bd1e
child 512139 9c2f8d95978eaa8415038555781830d395c07857
push id8522
push userjwwang@mozilla.com
push dateFri, 18 Dec 2015 07:14:08 +0000
reviewerskinetik
bugs1233648
milestone46.0a1
Bug 1233648 - Fix some insufficient includes. r=kinetik.
dom/media/MediaEventSource.h
dom/media/mediasink/VideoSink.cpp
--- a/dom/media/MediaEventSource.h
+++ b/dom/media/MediaEventSource.h
@@ -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/. */
 
 #ifndef MediaEventSource_h_
 #define MediaEventSource_h_
 
 #include "mozilla/AbstractThread.h"
 #include "mozilla/Atomics.h"
+#include "mozilla/IndexSequence.h"
 #include "mozilla/Mutex.h"
 #include "mozilla/Tuple.h"
 #include "mozilla/TypeTraits.h"
 #include "mozilla/UniquePtr.h"
 
 #include "nsISupportsImpl.h"
 #include "nsTArray.h"
 #include "nsThreadUtils.h"
--- a/dom/media/mediasink/VideoSink.cpp
+++ b/dom/media/mediasink/VideoSink.cpp
@@ -1,14 +1,15 @@
 /* -*- 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 "MediaQueue.h"
 #include "VideoSink.h"
 
 namespace mozilla {
 
 extern LazyLogModule gMediaDecoderLog;
 #define VSINK_LOG(msg, ...) \
   MOZ_LOG(gMediaDecoderLog, LogLevel::Debug, \
     ("VideoSink=%p " msg, this, ##__VA_ARGS__))