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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.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/WebGLFramebuffer.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
index a4d00d3e697ae281a41f98914adf6dae3faccaad..a001e4ecd9d5e14746a35627f155eaecc29787b2 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
@@ -316,7 +316,7 @@ WebGLFramebuffer::WebGLAttachment* WebGLFramebuffer::GetAttachment(
void WebGLFramebuffer::RemoveAttachmentFromBoundFramebuffer(
GLenum target,
WebGLSharedObject* attachment) {
- ASSERT(IsBound(target));
+ DCHECK(IsBound(target));
if (!object_)
return;
if (!attachment)
« no previous file with comments | « third_party/WebKit/Source/modules/webgl/WebGLBuffer.cpp ('k') | third_party/WebKit/Source/modules/webgl/WebGLObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698