| Index: Source/core/events/EventPath.cpp
|
| diff --git a/Source/core/events/EventPath.cpp b/Source/core/events/EventPath.cpp
|
| index c69d7744ace2149ca0cdc605587c3fe35b163ff4..346d7f8abe4a403b928d17b65b006bc26242a4fb 100644
|
| --- a/Source/core/events/EventPath.cpp
|
| +++ b/Source/core/events/EventPath.cpp
|
| @@ -312,7 +312,7 @@ void EventPath::adjustForTouchEvent(Node* node, TouchEvent& touchEvent)
|
| adjustTouchList(node, touchEvent.targetTouches(), adjustedTargetTouches, treeScopes);
|
| adjustTouchList(node, touchEvent.changedTouches(), adjustedChangedTouches, treeScopes);
|
|
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| for (size_t i = 0; i < m_treeScopeEventContexts.size(); ++i) {
|
| TreeScope& treeScope = m_treeScopeEventContexts[i]->treeScope();
|
| TouchEventContext* touchEventContext = m_treeScopeEventContexts[i]->touchEventContext();
|
| @@ -337,7 +337,7 @@ void EventPath::adjustTouchList(const Node* node, const TouchList* touchList, Wi
|
| }
|
| }
|
|
|
| -#ifndef NDEBUG
|
| +#if ENABLE(ASSERT)
|
| void EventPath::checkReachability(TreeScope& treeScope, TouchList& touchList)
|
| {
|
| for (size_t i = 0; i < touchList.length(); ++i)
|
|
|