| Index: Source/core/accessibility/AXNodeObject.cpp
|
| diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp
|
| index 92ea1d1493026afc7a670923f324e367ef4f127c..098628122ed8b40d2f7f722dc189a0edd0400d70 100644
|
| --- a/Source/core/accessibility/AXNodeObject.cpp
|
| +++ b/Source/core/accessibility/AXNodeObject.cpp
|
| @@ -52,7 +52,7 @@ AXNodeObject::AXNodeObject(Node* node)
|
| : AXObject()
|
| , m_ariaRole(UnknownRole)
|
| , m_childrenDirty(false)
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| , m_initialized(false)
|
| #endif
|
| , m_node(node)
|
| @@ -154,7 +154,7 @@ void AXNodeObject::changeValueByStep(bool increase)
|
|
|
| bool AXNodeObject::computeAccessibilityIsIgnored() const
|
| {
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| // Double-check that an AXObject is never accessed before
|
| // it's been initialized.
|
| ASSERT(m_initialized);
|
| @@ -446,7 +446,7 @@ AccessibilityRole AXNodeObject::remapAriaRoleDueToParent(AccessibilityRole role)
|
|
|
| void AXNodeObject::init()
|
| {
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| ASSERT(!m_initialized);
|
| m_initialized = true;
|
| #endif
|
|
|