| Index: third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
|
| index a001e4ecd9d5e14746a35627f155eaecc29787b2..2bbaf7ec51dd389cb9ec6c5edc720a2f1a40215c 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
|
| @@ -533,7 +533,7 @@ void WebGLFramebuffer::CommitWebGL1DepthStencilIfConsistent(GLenum target) {
|
|
|
| GLenum WebGLFramebuffer::GetDrawBuffer(GLenum draw_buffer) {
|
| int index = static_cast<int>(draw_buffer - GL_DRAW_BUFFER0_EXT);
|
| - ASSERT(index >= 0);
|
| + DCHECK_GE(index, 0);
|
| if (index < static_cast<int>(draw_buffers_.size()))
|
| return draw_buffers_[index];
|
| if (draw_buffer == GL_DRAW_BUFFER0_EXT)
|
|
|