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

Unified Diff: third_party/WebKit/Source/core/xml/XPathResult.cpp

Issue 2274573004: Replace ASSERT*() with DCHECK*() in core/xml/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/xml/XPathResult.cpp
diff --git a/third_party/WebKit/Source/core/xml/XPathResult.cpp b/third_party/WebKit/Source/core/xml/XPathResult.cpp
index 40f87346b8fda7b1603ece6ab973d74e3871a965..96a9f08962bf242037231105e689bff087889984 100644
--- a/third_party/WebKit/Source/core/xml/XPathResult.cpp
+++ b/third_party/WebKit/Source/core/xml/XPathResult.cpp
@@ -59,7 +59,7 @@ XPathResult::XPathResult(EvaluationContext& context, const Value& value)
m_domTreeVersion = m_document->domTreeVersion();
return;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
}
DEFINE_TRACE(XPathResult)
@@ -166,7 +166,7 @@ bool XPathResult::invalidIteratorState() const
if (resultType() != kUnorderedNodeIteratorType && resultType() != kOrderedNodeIteratorType)
return false;
- ASSERT(m_document);
+ DCHECK(m_document);
return m_document->domTreeVersion() != m_domTreeVersion;
}
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathPredicate.cpp ('k') | third_party/WebKit/Source/core/xml/XPathStep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698