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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLUniformLocation.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/WebGLUniformLocation.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLUniformLocation.cpp b/third_party/WebKit/Source/modules/webgl/WebGLUniformLocation.cpp
index 842b69843b7a2a85f15b649376e69f44ef3436c6..2aeb45ade3e13f9fc2b239343ee303a4452cbc50 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLUniformLocation.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLUniformLocation.cpp
@@ -36,7 +36,7 @@ WebGLUniformLocation* WebGLUniformLocation::Create(WebGLProgram* program,
WebGLUniformLocation::WebGLUniformLocation(WebGLProgram* program,
GLint location)
: program_(program), location_(location) {
- ASSERT(program_);
+ DCHECK(program_);
link_count_ = program_->LinkCount();
}

Powered by Google App Engine
This is Rietveld 408576698