diff --git a/content/base/src/WebSocket.cpp b/content/base/src/WebSocket.cpp index c11ff793525..389fbde202e 100644 --- a/content/base/src/WebSocket.cpp +++ b/content/base/src/WebSocket.cpp @@ -20,7 +20,6 @@ #include "nsEventDispatcher.h" #include "nsError.h" #include "nsIScriptObjectPrincipal.h" -#include "nsDOMClassInfoID.h" #include "nsIURL.h" #include "nsICharsetConverterManager.h" #include "nsIUnicodeEncoder.h" @@ -45,6 +44,7 @@ #include "nsWrapperCacheInlines.h" #include "nsDOMEventTargetHelper.h" #include "nsIObserverService.h" +#include "nsIWebSocketChannel.h" #include "GeneratedEvents.h" namespace mozilla { diff --git a/content/base/src/WebSocket.h b/content/base/src/WebSocket.h index 6fe80c788e1..602c6cdf98a 100644 --- a/content/base/src/WebSocket.h +++ b/content/base/src/WebSocket.h @@ -8,27 +8,20 @@ #define WebSocket_h__ #include "mozilla/Attributes.h" -#include "mozilla/dom/BindingUtils.h" -#include "mozilla/dom/EventHandlerBinding.h" #include "mozilla/dom/TypedArray.h" #include "mozilla/dom/WebSocketBinding.h" // for BinaryType #include "mozilla/ErrorResult.h" -#include "mozilla/Util.h" #include "nsAutoPtr.h" #include "nsCOMPtr.h" #include "nsCycleCollectionParticipant.h" #include "nsDOMEventTargetHelper.h" -#include "nsIDOMDOMStringList.h" -#include "nsIDOMEventListener.h" #include "nsIInterfaceRequestor.h" #include "nsIObserver.h" -#include "nsIPrincipal.h" #include "nsIRequest.h" #include "nsISupports.h" #include "nsISupportsUtils.h" #include "nsIWebSocketChannel.h" #include "nsIWebSocketListener.h" -#include "nsIWebSocketListener.h" #include "nsString.h" #include "nsWeakReference.h" #include "nsWrapperCache.h"