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

Unified Diff: third_party/WebKit/Source/core/layout/line/RootInlineBox.h

Issue 2748103015: Replace ASSERT with DCHECK in core/layout/<sub dirs> (Closed)
Patch Set: Rebase with latest Created 3 years, 9 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/line/RootInlineBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/RootInlineBox.h b/third_party/WebKit/Source/core/layout/line/RootInlineBox.h
index 1567b093eb95d099a69653b8dddde0c925aafc8e..98bcb74ae7ee2cf180bd01933e20b91dfe8e30e7 100644
--- a/third_party/WebKit/Source/core/layout/line/RootInlineBox.h
+++ b/third_party/WebKit/Source/core/layout/line/RootInlineBox.h
@@ -158,7 +158,7 @@ class RootInlineBox : public InlineFlowBox {
bool onlyEditableLeaves = false);
void appendFloat(LayoutBox* floatingBox) {
- ASSERT(!isDirty());
+ DCHECK(!isDirty());
if (m_floats)
m_floats->push_back(floatingBox);
else
@@ -166,7 +166,7 @@ class RootInlineBox : public InlineFlowBox {
}
Vector<LayoutBox*>* floatsPtr() {
- ASSERT(!isDirty());
+ DCHECK(!isDirty());
return m_floats.get();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/LineWidth.cpp ('k') | third_party/WebKit/Source/core/layout/line/RootInlineBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698