Bug 909003 - Part g: Remove some includes in workers; r=bz
authorMs2ger <ms2ger@gmail.com>
Fri, 06 Sep 2013 08:43:26 +0200
changeset 158678 ab5f2982323626fc77caae739c1c1533c7f4d55b
parent 158677 528bc7fbebb5441dd9e4985a928354919d3640aa
child 158749 7884c58c28a873d2bcd009247c4b82387e959b6d
child 158792 94450f79761a66a57874cd7bc9afe9ba95dbfe89
child 158814 565a5a52eeed7b3299cec98018286dd2979eaa4f
push id2961
push userlsblakk@mozilla.com
push dateMon, 28 Oct 2013 21:59:28 +0000
treeherdermozilla-beta@73ef4f13486f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs909003
milestone26.0a1
first release with
nightly linux32
ab5f29823236 / 26.0a1 / 20130906030202 / files
nightly linux64
ab5f29823236 / 26.0a1 / 20130906030202 / files
nightly mac
ab5f29823236 / 26.0a1 / 20130906030202 / files
nightly win32
ab5f29823236 / 26.0a1 / 20130906030202 / files
nightly win64
ab5f29823236 / 26.0a1 / 20130906030202 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 909003 - Part g: Remove some includes in workers; r=bz
dom/workers/DOMBindingBase.h
dom/workers/FileReaderSync.h
dom/workers/XMLHttpRequest.h
--- a/dom/workers/DOMBindingBase.h
+++ b/dom/workers/DOMBindingBase.h
@@ -5,16 +5,17 @@
 
 #ifndef mozilla_dom_workers_dombindingbase_h__
 #define mozilla_dom_workers_dombindingbase_h__
 
 #include "mozilla/dom/workers/Workers.h"
 
 #include "nsISupportsImpl.h"
 #include "nsWrapperCache.h"
+#include "nsWrapperCacheInlines.h"
 
 BEGIN_WORKERS_NAMESPACE
 
 #define BINDING_ENSURE_TRUE(_cond, _result, _retval) \
   PR_BEGIN_MACRO \
     if (!(_cond)) { \
       NS_WARNING("BINDING_ENSURE failed!"); \
       aRv = _result; \
--- a/dom/workers/FileReaderSync.h
+++ b/dom/workers/FileReaderSync.h
@@ -8,21 +8,29 @@
 #define mozilla_dom_workers_filereadersync_h__
 
 #include "Workers.h"
 #include "mozilla/dom/workers/bindings/DOMBindingBase.h"
 
 #include "nsICharsetDetectionObserver.h"
 #include "nsStringGlue.h"
 #include "mozilla/Attributes.h"
-#include "mozilla/dom/BindingUtils.h"
 
 class nsIInputStream;
 class nsIDOMBlob;
 
+namespace mozilla {
+class ErrorResult;
+
+namespace dom {
+class GlobalObject;
+template<typename> class Optional;
+}
+}
+
 BEGIN_WORKERS_NAMESPACE
 
 class FileReaderSync MOZ_FINAL : public DOMBindingBase,
                                  public nsICharsetDetectionObserver
 {
   nsCString mCharset;
   nsresult ConvertStream(nsIInputStream *aStream, const char *aCharset,
                          nsAString &aResult);
--- a/dom/workers/XMLHttpRequest.h
+++ b/dom/workers/XMLHttpRequest.h
@@ -7,17 +7,16 @@
 #define mozilla_dom_workers_xmlhttprequest_h__
 
 #include "mozilla/dom/workers/bindings/XMLHttpRequestEventTarget.h"
 #include "mozilla/dom/workers/bindings/WorkerFeature.h"
 
 // Need this for XMLHttpRequestResponseType.
 #include "mozilla/dom/XMLHttpRequestBinding.h"
 
-#include "mozilla/dom/BindingUtils.h"
 #include "mozilla/dom/TypedArray.h"
 
 #include "js/StructuredClone.h"
 
 BEGIN_WORKERS_NAMESPACE
 
 class Proxy;
 class XMLHttpRequestUpload;