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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLActiveInfo.h

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/WebGLActiveInfo.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLActiveInfo.h b/third_party/WebKit/Source/modules/webgl/WebGLActiveInfo.h
index c0e68f43ced413194102660fbcf78fe6bf99eeda..ca09106630064d44bb1dc0a714d16f0cca9fa444 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLActiveInfo.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLActiveInfo.h
@@ -48,9 +48,9 @@ class WebGLActiveInfo final : public GarbageCollectedFinalized<WebGLActiveInfo>,
private:
WebGLActiveInfo(const String& name, GLenum type, GLint size)
: name_(name), type_(type), size_(size) {
- ASSERT(name.length());
- ASSERT(type);
- ASSERT(size);
+ DCHECK(name.length());
+ DCHECK(type);
+ DCHECK(size);
}
String name_;
GLenum type_;

Powered by Google App Engine
This is Rietveld 408576698