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

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

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 6 years, 5 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/svg/animation/SMILTimeContainer.cpp ('k') | Source/modules/filesystem/FileWriterSync.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XPathNodeSet.cpp
diff --git a/Source/core/xml/XPathNodeSet.cpp b/Source/core/xml/XPathNodeSet.cpp
index 5f298e5d92081c9db46c9f4691759e87117d12ed..46a4caf38a19195c3f2fa9f65e9b935cfc9e0ada 100644
--- a/Source/core/xml/XPathNodeSet.cpp
+++ b/Source/core/xml/XPathNodeSet.cpp
@@ -144,7 +144,7 @@ static void sortBlock(unsigned from, unsigned to, WillBeHeapVector<NodeSetVector
ASSERT(previousGroupEnd != groupEnd);
previousGroupEnd = groupEnd;
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
parentNodes.remove(n);
#endif
}
« no previous file with comments | « Source/core/svg/animation/SMILTimeContainer.cpp ('k') | Source/modules/filesystem/FileWriterSync.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698