| Index: Source/core/dom/ContainerNode.cpp
|
| diff --git a/Source/core/dom/ContainerNode.cpp b/Source/core/dom/ContainerNode.cpp
|
| index 6d8dc594f20539c21e4f8d93fbd9c4eee9d1dbf5..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
|
|
|
| @@ -486,7 +486,7 @@ void ContainerNode::addChildNodesToDeletionQueue(Node*& head, Node*& tail, Conta
|
| next->setPreviousSibling(0);
|
|
|
| if (!n->refCount()) {
|
| -#if SECURITY_ASSERT_ENABLED
|
| +#if ENABLE(SECURITY_ASSERT)
|
| n->m_deletionHasBegun = true;
|
| #endif
|
| // Add the node to the list of nodes to be deleted.
|
| @@ -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())
|
|
|