Bug 843666 - Include and declare things needed by WebGLExtension.h. - r=kamidphish
authorJeff Gilbert <jgilbert@mozilla.com>
Fri, 07 Mar 2014 13:25:27 -0800
changeset 190833 f89aaec00f73169650e7cd64bf5080448e2e66ce
parent 190832 69cb6eddfc773f85df768fbc2de242b837ea13f1
child 190834 c8355055899c922cee30f77a371ec3183f293b94
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskamidphish
bugs843666
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 843666 - Include and declare things needed by WebGLExtension.h. - r=kamidphish
content/canvas/src/WebGLExtensions.h
--- a/content/canvas/src/WebGLExtensions.h
+++ b/content/canvas/src/WebGLExtensions.h
@@ -1,19 +1,27 @@
 /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #ifndef WEBGLEXTENSIONS_H_
 #define WEBGLEXTENSIONS_H_
 
+#include "jsapi.h"
+#include "mozilla/Attributes.h"
+#include "nsWrapperCache.h"
+#include "WebGLObjectModel.h"
+#include "WebGLTypes.h"
+
 namespace mozilla {
 
 class WebGLContext;
+class WebGLShader;
+class WebGLVertexArray;
 
 class WebGLExtensionBase
     : public nsWrapperCache
     , public WebGLContextBoundObject
 {
 public:
     WebGLExtensionBase(WebGLContext*);
     virtual ~WebGLExtensionBase();