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

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

Issue 2879773002: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules (Closed)
Patch Set: Replace remaining ASSERT with DCHECK|DCHECK_FOO in modules 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 2aeb45ade3e13f9fc2b239343ee303a4452cbc50..302157bd993cc5a19df4ec880bf2d10fc2f39e5a 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLUniformLocation.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLUniformLocation.cpp
@@ -51,7 +51,7 @@ WebGLProgram* WebGLUniformLocation::Program() const {
GLint WebGLUniformLocation::Location() const {
// If the program has been linked again, then this UniformLocation is no
// longer valid.
- ASSERT(program_->LinkCount() == link_count_);
+ DCHECK_EQ(program_->LinkCount(), link_count_);
return location_;
}

Powered by Google App Engine
This is Rietveld 408576698