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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableSection.cpp

Issue 2553653003: Make ifdefs consistent in WebKit/Source/core/layout/ . (Closed)
Patch Set: Update after review. Created 4 years 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/layout/LayoutTableSection.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
index 79f4c106b35ec839dde3d9545f37808d88aad3b9..01b8532e3b8b959005fd10d1ccfac7a27849ae27 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
@@ -829,7 +829,7 @@ void LayoutTableSection::updateBaselineForCell(LayoutTableCell* cell,
}
int LayoutTableSection::calcRowLogicalHeight() {
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
SetLayoutNeededForbiddenScope layoutForbiddenScope(*this);
#endif
@@ -1120,7 +1120,7 @@ static bool shouldFlexCellChild(LayoutObject* cellDescendant) {
}
void LayoutTableSection::layoutRows() {
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
SetLayoutNeededForbiddenScope layoutForbiddenScope(*this);
#endif
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutObject.cpp ('k') | third_party/WebKit/Source/core/layout/SubtreeLayoutScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698