Index: Source/core/dom/ContainerNode.cpp |
diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp |
index 84246a94603939b0ec6f011fd950a605b2d47ea2..5aad514a1910483415c10a66de36d2b2049bf7fb 100644 |
--- a/Source/core/dom/ContainerNode.cpp |
+++ b/Source/core/dom/ContainerNode.cpp |
@@ -60,7 +60,7 @@ using namespace HTMLNames; |
static void dispatchChildInsertionEvents(Node&); |
static void dispatchChildRemovalEvents(Node&); |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
unsigned NoEventDispatchAssertion::s_count = 0; |
#endif |
@@ -1377,7 +1377,7 @@ Element* ContainerNode::getElementById(const AtomicString& id) const |
return 0; |
} |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
bool childAttachedAllowedWhenAttachingChildren(ContainerNode* node) |
{ |
if (node->isShadowRoot()) |