Bug 1285122. Part 2 - fix includes and forward-declaration. r=kaku
MozReview-Commit-ID: 7r1NNH5DZki
--- a/dom/media/MediaDecoderReaderWrapper.h
+++ b/dom/media/MediaDecoderReaderWrapper.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 MediaDecoderReaderWrapper_h_
#define MediaDecoderReaderWrapper_h_
#include "mozilla/AbstractThread.h"
#include "mozilla/RefPtr.h"
+#include "mozilla/Variant.h"
#include "nsISupportsImpl.h"
#include "MediaDecoderReader.h"
#include "MediaEventSource.h"
namespace mozilla {
class StartTimeRendezvous;
--- a/dom/media/MediaDecoderStateMachine.h
+++ b/dom/media/MediaDecoderStateMachine.h
@@ -92,16 +92,17 @@ hardware (via AudioStream).
#include "MediaDecoder.h"
#include "MediaDecoderReader.h"
#include "MediaDecoderOwner.h"
#include "MediaEventSource.h"
#include "MediaMetadataManager.h"
#include "MediaStatistics.h"
#include "MediaTimer.h"
#include "ImageContainer.h"
+#include "SeekJob.h"
#include "SeekTask.h"
namespace mozilla {
namespace media {
class MediaSink;
}
--- a/dom/media/SeekTask.h
+++ b/dom/media/SeekTask.h
@@ -4,24 +4,23 @@
* 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 SEEK_TASK_H
#define SEEK_TASK_H
#include "mozilla/MozPromise.h"
#include "MediaCallbackID.h"
-#include "SeekJob.h"
+#include "SeekTarget.h"
namespace mozilla {
class AbstractThread;
class MediaData;
class MediaDecoderReaderWrapper;
-class MediaInfo;
namespace media {
class TimeUnit;
}
struct SeekTaskResolveValue
{
RefPtr<MediaData> mSeekedAudioData;