Skip to content

Commit

Permalink
Bug 1350398 Remove Workers.h include from BindingUtils.h now that Thr…
Browse files Browse the repository at this point in the history
…owDOMExceptionForNSResult no longer exists. rs=bz
  • Loading branch information
wanderview committed Mar 24, 2017
1 parent d20efa3 commit a472010
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 17 deletions.
1 change: 1 addition & 0 deletions dom/base/WebSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "mozilla/dom/WebSocketBinding.h" // for BinaryType
#include "mozilla/DOMEventTargetHelper.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/Mutex.h"
#include "nsCOMPtr.h"
#include "nsCycleCollectionParticipant.h"
#include "nsISupports.h"
Expand Down
1 change: 0 additions & 1 deletion dom/bindings/BindingUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "mozilla/dom/Nullable.h"
#include "mozilla/dom/RootedDictionary.h"
#include "mozilla/SegmentedVector.h"
#include "mozilla/dom/workers/Workers.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/Likely.h"
#include "mozilla/MemoryReporting.h"
Expand Down
2 changes: 2 additions & 0 deletions dom/media/systemservices/DeviceChangeCallback.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#ifndef mozilla_DeviceChangeCallback_h
#define mozilla_DeviceChangeCallback_h

#include "mozilla/Mutex.h"

namespace mozilla {

class DeviceChangeCallback
Expand Down
9 changes: 5 additions & 4 deletions dom/network/Connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@

namespace mozilla {

namespace workers {
class WorkerPrivate;
} // namespace workers

namespace hal {
class NetworkInformation;
} // namespace hal

namespace dom {

namespace workers {
class WorkerPrivate;
} // namespace workers

namespace network {

class Connection : public DOMEventTargetHelper
Expand Down
1 change: 1 addition & 0 deletions dom/offline/nsDOMOfflineResourceList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include "nsIInterfaceRequestorUtils.h"
#include "nsIOfflineCacheUpdate.h"
#include "nsContentUtils.h"
#include "nsILoadContext.h"
#include "nsIObserverService.h"
#include "nsIScriptGlobalObject.h"
#include "nsIWebNavigation.h"
Expand Down
1 change: 1 addition & 0 deletions dom/webbrowserpersist/nsWebBrowserPersist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "nsNetCID.h"
#include "nsNetUtil.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsILoadContext.h"
#include "nsIPrivateBrowsingChannel.h"
#include "nsComponentManagerUtils.h"
#include "nsIComponentRegistrar.h"
Expand Down
1 change: 1 addition & 0 deletions dom/workers/ServiceWorkerInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#define mozilla_dom_workers_serviceworkerinfo_h

#include "mozilla/dom/ServiceWorkerBinding.h" // For ServiceWorkerState
#include "mozilla/dom/workers/Workers.h"
#include "nsIServiceWorkerManager.h"

namespace mozilla {
Expand Down
8 changes: 0 additions & 8 deletions dom/workers/Workers.h
Original file line number Diff line number Diff line change
Expand Up @@ -384,14 +384,6 @@ GetWorkerCrossThreadDispatcher(JSContext* aCx, const JS::Value& aWorker);
// Random unique constant to facilitate JSPrincipal debugging
const uint32_t kJSPrincipalsDebugToken = 0x7e2df9d2;

namespace exceptions {

// Implemented in Exceptions.cpp
void
ThrowDOMExceptionForNSResult(JSContext* aCx, nsresult aNSResult);

} // namespace exceptions

bool
IsWorkerGlobal(JSObject* global);

Expand Down
1 change: 0 additions & 1 deletion dom/xhr/XMLHttpRequestString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "XMLHttpRequestString.h"
#include "mozilla/Mutex.h"
#include "nsISupportsImpl.h"
#include "mozilla/dom/DOMString.h"

Expand Down
4 changes: 1 addition & 3 deletions dom/xhr/XMLHttpRequestString.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@
#ifndef mozilla_dom_XMLHttpRequestString_h
#define mozilla_dom_XMLHttpRequestString_h

#include "mozilla/Mutex.h"
#include "nsString.h"

namespace mozilla {

class Mutex;

namespace dom {

class DOMString;
Expand Down
1 change: 1 addition & 0 deletions layout/style/FontFaceSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "nsIContentSecurityPolicy.h"
#include "nsIDocShell.h"
#include "nsIDocument.h"
#include "nsILoadContext.h"
#include "nsINetworkPredictor.h"
#include "nsIPresShell.h"
#include "nsIPrincipal.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "pk11pub.h"

#include "nsNetCID.h"
#include "nsILoadContext.h"
#include "nsIProperty.h"
#include "nsIPropertyBag2.h"
#include "nsIServiceManager.h"
Expand Down

0 comments on commit a472010

Please sign in to comment.