| Index: Source/core/dom/Node.cpp
|
| diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
|
| index 5e8678b6ec3d5cfc7f7bd52e53439f1e99f7ae70..9bdaf524d66fa82d84ab119fc185da774d952d29 100644
|
| --- a/Source/core/dom/Node.cpp
|
| +++ b/Source/core/dom/Node.cpp
|
| @@ -2372,13 +2372,13 @@ inline void TreeScope::removedLastRefToScope()
|
| // extra self-only ref.
|
| guardRef();
|
| dispose();
|
| -#if !ASSERT_DISABLED
|
| +#if ASSERT_ENABLED
|
| // We need to do this right now since guardDeref() can delete this.
|
| rootNode().m_inRemovedLastRefFunction = false;
|
| #endif
|
| guardDeref();
|
| } else {
|
| -#if !ASSERT_DISABLED
|
| +#if ASSERT_ENABLED
|
| rootNode().m_inRemovedLastRefFunction = false;
|
| #endif
|
| #if SECURITY_ASSERT_ENABLED
|
|
|