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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLSharedPlatform3DObject.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/WebGLSharedPlatform3DObject.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLSharedPlatform3DObject.cpp b/third_party/WebKit/Source/modules/webgl/WebGLSharedPlatform3DObject.cpp
index 36f9ef394c37e38b5b2f251ce138d3b579b55ed4..2e5fa35990b25d2e29fc640146bb2fdbe43f6784 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLSharedPlatform3DObject.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLSharedPlatform3DObject.cpp
@@ -14,7 +14,8 @@ WebGLSharedPlatform3DObject::WebGLSharedPlatform3DObject(
void WebGLSharedPlatform3DObject::SetObject(GLuint object) {
// object==0 && deleted==false indicating an uninitialized state;
- ASSERT(!object_ && !IsDeleted());
+ DCHECK(!object_);
+ DCHECK(!IsDeleted());
object_ = object;
}

Powered by Google App Engine
This is Rietveld 408576698