Bug 1190495 - Followup #include fix. r=me
authorBobby Holley <bobbyholley@gmail.com>
Tue, 11 Aug 2015 09:38:37 -0400
changeset 257207 12dbfc219eae86780f474ced5df75efb4ca781fc
parent 257206 4595fcf7f37090d7799ad6478651677747dbe5c0
child 257208 4a579559b0da634c1cb7020fe987046259251348
push id63568
push userbobbyholley@gmail.com
push dateTue, 11 Aug 2015 13:41:20 +0000
treeherdermozilla-inbound@12dbfc219eae [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1190495
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1190495 - Followup #include fix. r=me
dom/media/VideoUtils.h
--- a/dom/media/VideoUtils.h
+++ b/dom/media/VideoUtils.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/. */
 
 #ifndef VideoUtils_h
 #define VideoUtils_h
 
+#include "FlushableTaskQueue.h"
 #include "mozilla/Attributes.h"
 #include "mozilla/CheckedInt.h"
 #include "mozilla/MozPromise.h"
 #include "mozilla/ReentrantMonitor.h"
 #include "mozilla/RefPtr.h"
 
 #include "nsIThread.h"
 #include "nsSize.h"
@@ -256,19 +257,16 @@ ExtractH264CodecDetails(const nsAString&
 nsresult
 GenerateRandomName(nsCString& aOutSalt, uint32_t aLength);
 
 // This version returns a string suitable for use as a file or URL
 // path. This is based on code from nsExternalAppHandler::SetUpTempFile.
 nsresult
 GenerateRandomPathName(nsCString& aOutSalt, uint32_t aLength);
 
-class TaskQueue;
-class FlushableTaskQueue;
-
 already_AddRefed<TaskQueue>
 CreateMediaDecodeTaskQueue();
 
 already_AddRefed<FlushableTaskQueue>
 CreateFlushableMediaDecodeTaskQueue();
 
 // Iteratively invokes aWork until aCondition returns true, or aWork returns false.
 // Use this rather than a while loop to avoid bogarting the task queue.