| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index e2e44c35e4b1dd0aa0792e159b82472828d0e074..d848ebd8a07223cf3648f26c27644839d6450462 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -2370,16 +2370,16 @@ inline void TreeScope::removedLastRefToScope()
|
| // extra self-only ref.
|
| guardRef();
|
| dispose();
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| // We need to do this right now since guardDeref() can delete this.
|
| rootNode().m_inRemovedLastRefFunction = false;
|
| #endif
|
| guardDeref();
|
| } else {
|
| -#if ASSERT_ENABLED
|
| +#if ENABLE(ASSERT)
|
| rootNode().m_inRemovedLastRefFunction = false;
|
| #endif
|
| -#if SECURITY_ASSERT_ENABLED
|
| +#if ENABLE(SECURITY_ASSERT)
|
| beginDeletion();
|
| #endif
|
| delete this;
|
| @@ -2398,7 +2398,7 @@ void Node::removedLastRef()
|
| return;
|
| }
|
|
|
| -#if SECURITY_ASSERT_ENABLED
|
| +#if ENABLE(SECURITY_ASSERT)
|
| m_deletionHasBegun = true;
|
| #endif
|
| delete this;
|
|
|