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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextCombine.h

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/LayoutTextCombine.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextCombine.h b/third_party/WebKit/Source/core/layout/LayoutTextCombine.h
index 5fcecfedee54a8a041c13013e4350ed1829527d7..a8e52780a5159706e24d0e5ff341ff5bf14b6aca 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextCombine.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTextCombine.h
@@ -68,7 +68,7 @@ class LayoutTextCombine final : public LayoutText {
DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTextCombine, isCombineText());
inline LayoutUnit LayoutTextCombine::inlineWidthForLayout() const {
- ASSERT(!m_needsFontUpdate);
+ DCHECK(!m_needsFontUpdate);
return LayoutUnit::fromFloatCeil(m_combinedTextWidth);
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutText.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTextControl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698