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

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

Issue 2770123003: Replace ASSERT with DCHECK in core/layout/ excluding subdirs (Closed)
Patch Set: Split some DCHECKs and add DCHECK_ops wherever possible Created 3 years, 8 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/layout/LayoutFrameSet.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutFrameSet.cpp b/third_party/WebKit/Source/core/layout/LayoutFrameSet.cpp
index c8ed15717c03227d6a481e9778456d18aa663409..fec65554ea813c9a3e8e29674798be52250169cd 100644
--- a/third_party/WebKit/Source/core/layout/LayoutFrameSet.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutFrameSet.cpp
@@ -88,7 +88,7 @@ void LayoutFrameSet::layOutAxis(GridAxis& axis,
}
int gridLen = axis.m_sizes.size();
- ASSERT(gridLen);
+ DCHECK(gridLen);
int totalRelative = 0;
int totalFixed = 0;
@@ -354,7 +354,7 @@ FrameEdgeInfo LayoutFrameSet::edgeInfo() const {
}
void LayoutFrameSet::layout() {
- ASSERT(needsLayout());
+ DCHECK(needsLayout());
if (!parent()->isFrameSet() && !document().printing()) {
setWidth(LayoutUnit(view()->viewWidth()));
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutFrameSet.h ('k') | third_party/WebKit/Source/core/layout/LayoutGeometryMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698