| Index: Source/WebCore/history/CachedFrame.cpp
|
| ===================================================================
|
| --- Source/WebCore/history/CachedFrame.cpp (revision 138265)
|
| +++ Source/WebCore/history/CachedFrame.cpp (working copy)
|
| @@ -134,7 +134,7 @@
|
| m_document->enqueuePopstateEvent(historyItem && historyItem->stateObject() ? historyItem->stateObject() : SerializedScriptValue::nullValue());
|
|
|
| #if ENABLE(TOUCH_EVENTS)
|
| - if (m_document->touchEventHandlerCount())
|
| + if (m_document->hasTouchEventHandlers())
|
| m_document->page()->chrome()->client()->needTouchEvents(true);
|
| #endif
|
|
|
|
|