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

Unified Diff: Source/core/xml/XPathStep.cpp

Issue 327323002: Start removing the double-negative !ASSERT_DISABLED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/core/testing/InternalSettings.cpp ('k') | Source/modules/webdatabase/Database.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathStep.cpp
diff --git a/Source/core/xml/XPathStep.cpp b/Source/core/xml/XPathStep.cpp
index 1fbe1972b70b391a4ca2cf96e77f1f64b8ea1195..ab8692d45645e9ac5d09fd116a7e71631a02c243 100644
--- a/Source/core/xml/XPathStep.cpp
+++ b/Source/core/xml/XPathStep.cpp
@@ -150,7 +150,7 @@ void Step::evaluate(Node* context, NodeSet& nodes) const
}
}
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
static inline Node::NodeType primaryNodeType(Step::Axis axis)
{
switch (axis) {
« no previous file with comments | « Source/core/testing/InternalSettings.cpp ('k') | Source/modules/webdatabase/Database.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698