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

Unified Diff: third_party/WebKit/Source/core/layout/line/TrailingObjects.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/TrailingObjects.h
diff --git a/third_party/WebKit/Source/core/layout/line/TrailingObjects.h b/third_party/WebKit/Source/core/layout/line/TrailingObjects.h
index 255644025421e18ce9f9f9e119405db836c2fefb..365fbd921c3c9d146d6ae1c6e686fdd260cb6522 100644
--- a/third_party/WebKit/Source/core/layout/line/TrailingObjects.h
+++ b/third_party/WebKit/Source/core/layout/line/TrailingObjects.h
@@ -68,7 +68,7 @@ class TrailingObjects {
TrailingObjects() : m_whitespace(nullptr) {}
void setTrailingWhitespace(LineLayoutText whitespace) {
- ASSERT(whitespace);
+ DCHECK(whitespace);
m_whitespace = whitespace;
}

Powered by Google App Engine
This is Rietveld 408576698