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

Unified Diff: third_party/WebKit/Source/core/layout/line/LineBreaker.cpp

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/LineBreaker.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp b/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp
index 992e261f839d23132d93270412aaebe1a383d0ca..d856dcd47b937153ed42b691fd8131427d681ffb 100644
--- a/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp
+++ b/third_party/WebKit/Source/core/layout/line/LineBreaker.cpp
@@ -62,7 +62,7 @@ InlineIterator LineBreaker::nextLineBreak(InlineBidiResolver& resolver,
WordMeasurements& wordMeasurements) {
reset();
- ASSERT(resolver.position().root() == m_block);
+ DCHECK(resolver.position().root() == m_block);
bool appliedStartWidth = resolver.position().offset() > 0;
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/LineBoxList.cpp ('k') | third_party/WebKit/Source/core/layout/line/LineWidth.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698