Backed out changeset 323b479bd91f (bug 1285100) for webgl issues
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Thu, 21 Jul 2016 08:03:23 +0200
changeset 331088 e9e32ccc8cfbcc802f41f67c80938a50b7ce1a65
parent 331087 fab0848f52e72b34ce47303ee8146c3efad6b8b7
child 331089 6713d9c84fff0b7e007fa1ec6c1b48c8dbe89f4a
push id9858
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 14:37:10 +0000
treeherdermozilla-aurora@203106ef6cb6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1285100
milestone50.0a1
backs out323b479bd91f83549f5cc8949630b4aae8dcb247
Backed out changeset 323b479bd91f (bug 1285100) for webgl issues
dom/canvas/WebGLContextBuffers.cpp
--- a/dom/canvas/WebGLContextBuffers.cpp
+++ b/dom/canvas/WebGLContextBuffers.cpp
@@ -317,17 +317,17 @@ WebGLContext::BufferSubDataT(GLenum targ
     gl->fBufferSubData(target, byteOffset, data.LengthAllowShared(), data.DataAllowShared());
 }
 
 void
 WebGLContext::BufferSubData(GLenum target, WebGLsizeiptr byteOffset,
                             const dom::Nullable<dom::ArrayBuffer>& maybeData)
 {
     if (maybeData.IsNull()) {
-        ErrorInvalidValue("BufferSubData: returnedData is null.");
+        // see http://www.khronos.org/bugzilla/show_bug.cgi?id=386
         return;
     }
     BufferSubDataT(target, byteOffset, maybeData.Value());
 }
 
 void
 WebGLContext::BufferSubData(GLenum target, WebGLsizeiptr byteOffset,
                             const dom::SharedArrayBuffer& data)