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

Unified Diff: third_party/WebKit/Source/core/xml/XPathValue.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/XPathValue.cpp
diff --git a/third_party/WebKit/Source/core/xml/XPathValue.cpp b/third_party/WebKit/Source/core/xml/XPathValue.cpp
index 06d27401d9eaef8d76cbc1d620d6c699cfa54808..dc951dc56a74b01a0f819d8187f2937211a432ef 100644
--- a/third_party/WebKit/Source/core/xml/XPathValue.cpp
+++ b/third_party/WebKit/Source/core/xml/XPathValue.cpp
@@ -84,7 +84,7 @@ bool Value::toBoolean() const
case StringValue:
return !m_data->m_string.isEmpty();
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return false;
}
@@ -116,7 +116,7 @@ double Value::toNumber() const
case BooleanValue:
return m_bool;
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0.0;
}
@@ -140,7 +140,7 @@ String Value::toString() const
case BooleanValue:
return m_bool ? "true" : "false";
}
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return String();
}
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathUtil.cpp ('k') | third_party/WebKit/Source/core/xml/XPathVariableReference.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698