Bug 1318523 - Unify VAO implementation. - r=ethlin
authorJeff Gilbert (:jgilbert) <jgilbert@mozilla.com>
Thu, 17 Nov 2016 16:46:48 -0800
changeset 442258 e63177dc81592c4056df295c39786782a505b247
parent 442257 a4efff3270cc2a1224b6f27350b0e262d2971080
child 442259 a8bb96fbf2fada591583cdaee581dfdd08a71f93
child 442333 ab60afa100d3ec47bbc9dfebe914f37d6ece26cb
push id36639
push userbmo:jgilbert@mozilla.com
push dateTue, 22 Nov 2016 03:55:29 +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);
 }