Bug 907606 - Remove BindingUtils.h include from WebGLContext.h; r=mounir
authorMs2ger <ms2ger@gmail.com>
Thu, 22 Aug 2013 08:34:54 +0200
changeset 151739 0e8f03340f088da5babe2f50b78e30512ee1685f
parent 151738 3dded55f67da28648db299a11e1bd5be5428c11e
child 151740 6be071a714b14b70389d070adef1a3c6d00c9512
push id4254
push userakeybl@mozilla.com
push dateTue, 17 Sep 2013 14:18:33 +0000
treeherdermozilla-aurora@9edd56e694b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmounir
bugs907606
milestone26.0a1
Bug 907606 - Remove BindingUtils.h include from WebGLContext.h; r=mounir
content/canvas/src/WebGLContext.h
--- a/content/canvas/src/WebGLContext.h
+++ b/content/canvas/src/WebGLContext.h
@@ -8,45 +8,38 @@
 
 #include "mozilla/Attributes.h"
 #include "GLDefs.h"
 #include "WebGLActiveInfo.h"
 #include "WebGLObjectModel.h"
 #include <stdarg.h>
 
 #include "nsTArray.h"
-#include "nsDataHashtable.h"
-#include "nsHashKeys.h"
 #include "nsCycleCollectionNoteChild.h"
 
-#include "nsIDocShell.h"
-
 #include "nsIDOMWebGLRenderingContext.h"
 #include "nsICanvasRenderingContextInternal.h"
 #include "mozilla/dom/HTMLCanvasElement.h"
-#include "nsIDOMHTMLElement.h"
-#include "nsIMemoryReporter.h"
-#include "nsIJSNativeInitializer.h"
 #include "nsWrapperCache.h"
 #include "nsIObserver.h"
 
 #include "GLContextProvider.h"
 
 #include "mozilla/LinkedList.h"
 #include "mozilla/CheckedInt.h"
 #include "mozilla/dom/ImageData.h"
 
 #ifdef XP_MACOSX
 #include "ForceDiscreteGPUHelperCGL.h"
 #endif
 
 #include "mozilla/dom/TypedArray.h"
-#include "mozilla/dom/Nullable.h"
 #include "mozilla/ErrorResult.h"
-#include "mozilla/dom/BindingUtils.h"
+
+class nsIDocShell;
 
 /* 
  * Minimum value constants defined in 6.2 State Tables of OpenGL ES - 2.0.25
  *   https://bugzilla.mozilla.org/show_bug.cgi?id=686732
  * 
  * Exceptions: some of the following values are set to higher values than in the spec because
  * the values in the spec are ridiculously low. They are explicitly marked below
 */
@@ -77,16 +70,17 @@ class WebGLFramebuffer;
 class WebGLRenderbuffer;
 class WebGLShaderPrecisionFormat;
 class WebGLTexture;
 class WebGLVertexArray;
 
 namespace dom {
 struct WebGLContextAttributes;
 struct WebGLContextAttributesInitializer;
+template<typename> class Nullable;
 }
 
 using WebGLTexelConversions::WebGLTexelFormat;
 
 WebGLTexelFormat GetWebGLTexelFormat(GLenum format, GLenum type);
 
 struct WebGLContextOptions {
     // these are defaults