Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(669)

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLBuffer.cpp

Issue 2862963003: Replace ASSERT with DCHECK in modules/ (Closed)
Patch Set: NOTREACHED instead of DCHECK(false) Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webgl/WebGLBuffer.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLBuffer.cpp b/third_party/WebKit/Source/modules/webgl/WebGLBuffer.cpp
index 42d886924f5962a1096222f14237a3801b181650..0ec9adbcdcdeb9cb9a6eec157a53a77c9442c173 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLBuffer.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLBuffer.cpp
@@ -53,7 +53,7 @@ void WebGLBuffer::DeleteObjectImpl(gpu::gles2::GLES2Interface* gl) {
void WebGLBuffer::SetInitialTarget(GLenum target) {
// WebGL restricts the ability to bind buffers to multiple targets based on
// it's initial bind point.
- ASSERT(!initial_target_);
+ DCHECK(!initial_target_);
initial_target_ = target;
}

Powered by Google App Engine
This is Rietveld 408576698