Index: Source/core/dom/ChildFrameDisconnector.cpp |
diff --git a/Source/core/dom/ChildFrameDisconnector.cpp b/Source/core/dom/ChildFrameDisconnector.cpp |
index 555da1cd3b97be61a677e619d6d134d32cbb3571..3882301fb6838cb87552449ff3d7dc95591aca23 100644 |
--- a/Source/core/dom/ChildFrameDisconnector.cpp |
+++ b/Source/core/dom/ChildFrameDisconnector.cpp |
@@ -12,13 +12,13 @@ |
namespace WebCore { |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
static unsigned checkConnectedSubframeCountIsConsistent(Node&); |
#endif |
void ChildFrameDisconnector::disconnect(DisconnectPolicy policy) |
{ |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
checkConnectedSubframeCountIsConsistent(m_root); |
#endif |
@@ -72,7 +72,7 @@ void ChildFrameDisconnector::collectFrameOwners(ElementShadow& shadow) |
collectFrameOwners(*root); |
} |
-#ifndef NDEBUG |
+#if ENABLE(ASSERT) |
static unsigned checkConnectedSubframeCountIsConsistent(Node& node) |
{ |
unsigned count = 0; |