Index: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp |
index 6de9215e570e6b09282ed938542ea425390b6779..7215255a5f69aa4114ac41f476cffbeb4dea16e8 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp |
@@ -93,9 +93,6 @@ AXObjectCache* AXObjectCacheImpl::create(Document& document) { |
AXObjectCacheImpl::AXObjectCacheImpl(Document& document) |
: m_document(document), |
m_modificationCount(0), |
-#if ENABLE(ASSERT) |
- m_hasBeenDisposed(false), |
-#endif |
m_notificationPostTimer(this, |
&AXObjectCacheImpl::notificationPostTimerFired) { |
} |
@@ -113,7 +110,7 @@ void AXObjectCacheImpl::dispose() { |
removeAXID(obj); |
} |
-#if ENABLE(ASSERT) |
+#if DCHECK_IS_ON() |
m_hasBeenDisposed = true; |
#endif |
} |
@@ -640,7 +637,7 @@ void AXObjectCacheImpl::notificationPostTimerFired(TimerBase*) { |
if (obj->isDetached()) |
continue; |
-#if ENABLE(ASSERT) |
+#if DCHECK_IS_ON() |
// Make sure none of the layout views are in the process of being layed out. |
// Notifications should only be sent after the layoutObject has finished |
if (obj->isAXLayoutObject()) { |