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

Unified Diff: third_party/WebKit/Source/core/style/GridArea.h

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: m_domTreeVersion initialization Created 3 years, 11 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/core/style/GridArea.h
diff --git a/third_party/WebKit/Source/core/style/GridArea.h b/third_party/WebKit/Source/core/style/GridArea.h
index 538bd0fe772957317001d9a696c67fc07046f98d..bbc1f97e57d89bb04da373b70280ae5e35d26e6a 100644
--- a/third_party/WebKit/Source/core/style/GridArea.h
+++ b/third_party/WebKit/Source/core/style/GridArea.h
@@ -133,7 +133,7 @@ struct GridSpan {
enum GridSpanType { UntranslatedDefinite, TranslatedDefinite, Indefinite };
GridSpan(int startLine, int endLine, GridSpanType type) : m_type(type) {
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
ASSERT(startLine < endLine);
if (type == TranslatedDefinite) {
ASSERT(startLine >= 0);
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGPaintContext.cpp ('k') | third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698