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

Unified Diff: third_party/WebKit/Source/core/xml/XPathStep.h

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/XPathStep.h
diff --git a/third_party/WebKit/Source/core/xml/XPathStep.h b/third_party/WebKit/Source/core/xml/XPathStep.h
index cb17248cdc393869767c21890535178f425612ec..e37c7c4c238b5e65af5c8f429bc69380deed0803 100644
--- a/third_party/WebKit/Source/core/xml/XPathStep.h
+++ b/third_party/WebKit/Source/core/xml/XPathStep.h
@@ -64,14 +64,14 @@ public:
, m_data(o.m_data)
, m_namespaceURI(o.m_namespaceURI)
{
- ASSERT(o.m_mergedPredicates.isEmpty());
+ DCHECK(o.m_mergedPredicates.isEmpty());
}
NodeTest& operator=(const NodeTest& o)
{
m_kind = o.m_kind;
m_data = o.m_data;
m_namespaceURI = o.m_namespaceURI;
- ASSERT(o.m_mergedPredicates.isEmpty());
+ DCHECK(o.m_mergedPredicates.isEmpty());
return *this;
}
DEFINE_INLINE_TRACE() { visitor->trace(m_mergedPredicates); }
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathResult.cpp ('k') | third_party/WebKit/Source/core/xml/XPathStep.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698