Bug 1499792: Remove unneeded 'ThrottledEventQueue' forward declarations. r=smaug
authorJim Blandy <jimb@mozilla.com>
Thu, 18 Oct 2018 12:20:14 +0000
changeset 490541 140a56e90594382a0c24298b08a5a853e95c0b32
parent 490540 388806780facbc345aa5ce0e7cc6b6bc108b29e8
child 490542 655818c009b19ac39ac6b69f2e76473976fdaaeb
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewerssmaug
bugs1499792
milestone64.0a1
Bug 1499792: Remove unneeded 'ThrottledEventQueue' forward declarations. r=smaug Differential Revision: https://phabricator.services.mozilla.com/D9008
dom/base/TabGroup.h
dom/base/nsGlobalWindowInner.h
dom/base/nsGlobalWindowOuter.h
dom/base/nsPIDOMWindow.h
dom/workers/WorkerPrivate.h
--- a/dom/base/TabGroup.h
+++ b/dom/base/TabGroup.h
@@ -19,17 +19,16 @@
 
 class mozIDOMWindowProxy;
 class nsIDocShellTreeItem;
 class nsIDocument;
 class nsPIDOMWindowOuter;
 
 namespace mozilla {
 class AbstractThread;
-class ThrottledEventQueue;
 namespace dom {
 class TabChild;
 
 // Two browsing contexts are considered "related" if they are reachable from one
 // another through window.opener, window.parent, or window.frames. This is the
 // spec concept of a "unit of related browsing contexts"
 //
 // Two browsing contexts are considered "similar-origin" if they can be made to
--- a/dom/base/nsGlobalWindowInner.h
+++ b/dom/base/nsGlobalWindowInner.h
@@ -91,17 +91,16 @@ class nsWindowSizes;
 class IdleRequestExecutor;
 
 class DialogValueHolder;
 
 class PromiseDocumentFlushedResolver;
 
 namespace mozilla {
 class AbstractThread;
-class ThrottledEventQueue;
 namespace dom {
 class BarProp;
 struct ChannelPixelLayout;
 class ClientSource;
 class Console;
 class Crypto;
 class CustomElementRegistry;
 class DocGroup;
--- a/dom/base/nsGlobalWindowOuter.h
+++ b/dom/base/nsGlobalWindowOuter.h
@@ -86,17 +86,16 @@ class nsWindowSizes;
 
 class IdleRequestExecutor;
 
 struct IdleObserverHolder;
 
 namespace mozilla {
 class AbstractThread;
 class DOMEventTargetHelper;
-class ThrottledEventQueue;
 namespace dom {
 class BarProp;
 struct ChannelPixelLayout;
 class Console;
 class Crypto;
 class CustomElementRegistry;
 class DocGroup;
 class External;
--- a/dom/base/nsPIDOMWindow.h
+++ b/dom/base/nsPIDOMWindow.h
@@ -40,17 +40,16 @@ class nsIURI;
 class nsPIDOMWindowInner;
 class nsPIDOMWindowOuter;
 class nsPIWindowRoot;
 class nsXBLPrototypeHandler;
 
 typedef uint32_t SuspendTypes;
 
 namespace mozilla {
-class ThrottledEventQueue;
 class AutoplayPermissionManager;
 namespace dom {
 class AudioContext;
 class ClientInfo;
 class ClientState;
 class ContentFrameMessageManager;
 class DocGroup;
 class TabGroup;
--- a/dom/workers/WorkerPrivate.h
+++ b/dom/workers/WorkerPrivate.h
@@ -21,16 +21,17 @@
 #include "mozilla/dom/workerinternals/JSSettings.h"
 #include "mozilla/dom/workerinternals/Queue.h"
 #include "mozilla/PerformanceCounter.h"
 
 class nsIConsoleReportCollector;
 class nsIThreadInternal;
 
 namespace mozilla {
+class ThrottledEventQueue;
 namespace dom {
 
 // If you change this, the corresponding list in nsIWorkerDebugger.idl needs
 // to be updated too.
 enum WorkerType
 {
   WorkerTypeDedicated,
   WorkerTypeShared,