| Index: Source/core/events/EventPath.cpp
|
| diff --git a/Source/core/events/EventPath.cpp b/Source/core/events/EventPath.cpp
|
| index 2e4480f4a6ed7c84d5f5960c9eb5e76675f1cd32..a2cdce8a9e990624d715e93b0611b192ed2e955d 100644
|
| --- a/Source/core/events/EventPath.cpp
|
| +++ b/Source/core/events/EventPath.cpp
|
| @@ -313,7 +313,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();
|
| @@ -338,7 +338,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)
|
|
|