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

Unified Diff: third_party/WebKit/Source/core/dom/CharacterData.cpp

Issue 1854423002: ASSERT -> {DCHECK|DCHECK_XX}, ENABLE(ASSERT) -> DCHECK_IS_ON() in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark svg/as-image/svg-nested.html crash on win Created 4 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/dom/CharacterData.cpp
diff --git a/third_party/WebKit/Source/core/dom/CharacterData.cpp b/third_party/WebKit/Source/core/dom/CharacterData.cpp
index ab4651c6085022b70fc9500f3c60f29b62a2c1c2..c8b125d85f6f5423a43ccdaad76db27d4119e748 100644
--- a/third_party/WebKit/Source/core/dom/CharacterData.cpp
+++ b/third_party/WebKit/Source/core/dom/CharacterData.cpp
@@ -164,7 +164,7 @@ void CharacterData::setDataAndUpdate(const String& newData, unsigned offsetOfRep
String oldData = m_data;
m_data = newData;
- ASSERT(!layoutObject() || isTextNode());
+ DCHECK(!layoutObject() || isTextNode());
if (isTextNode())
toText(this)->updateTextLayoutObject(offsetOfReplacedData, oldLength, recalcStyleBehavior);
« no previous file with comments | « third_party/WebKit/Source/core/dom/CharacterData.h ('k') | third_party/WebKit/Source/core/dom/ChildFrameDisconnector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698