Bug 1318523 - Unify VAO implementation. - r=ethlin draft
authorJeff Gilbert (:jgilbert) <jgilbert@mozilla.com>
Thu, 17 Nov 2016 16:46:48 -0800
changeset 440683 9829ce5de4662955229fd8d37cfba093c34cb471
parent 440682 88a3862e4545ead5354607629de6366917090487
child 537436 0b671b9c9f92891fbc2fd8b77f7e6196364f8420
push id36296
push userbmo:jgilbert@mozilla.com
push dateFri, 18 Nov 2016 00:47:12 +0000
reviewersethlin
bugs1318523
milestone53.0a1
Bug 1318523 - Unify VAO implementation. - r=ethlin MozReview-Commit-ID: 2LHEY7PtE5I
dom/canvas/WebGLVertexArray.cpp
--- a/dom/canvas/WebGLVertexArray.cpp
+++ b/dom/canvas/WebGLVertexArray.cpp
@@ -12,17 +12,17 @@
 #include "WebGLVertexArrayGL.h"
 #include "WebGLVertexArrayFake.h"
 
 namespace mozilla {
 
 JSObject*
 WebGLVertexArray::WrapObject(JSContext* cx, JS::Handle<JSObject*> givenProto)
 {
-    return dom::WebGLVertexArrayObjectOESBinding::Wrap(cx, this, givenProto);
+    return dom::WebGLVertexArrayObjectBinding::Wrap(cx, this, givenProto);
 }
 
 WebGLVertexArray::WebGLVertexArray(WebGLContext* webgl)
     : WebGLContextBoundObject(webgl)
     , mGLName(0)
 {
     mContext->mVertexArrays.insertBack(this);
 }