Chromium Code Reviews| Index: core/cross/gl/primitive_gl.cc |
| =================================================================== |
| --- core/cross/gl/primitive_gl.cc (revision 21208) |
| +++ core/cross/gl/primitive_gl.cc (working copy) |
| @@ -250,7 +250,7 @@ |
| } |
| } |
| if (draw) { |
| - DCHECK_NE(gl_primitive_type, GL_NONE); |
| + DCHECK_NE(gl_primitive_type, static_cast<unsigned int>(GL_NONE)); |
| renderer->AddPrimitivesRendered(number_primitives_); |
| if (indexed()) |
| glDrawElements(gl_primitive_type, |