Index: Source/WebCore/history/CachedFrame.cpp |
=================================================================== |
--- Source/WebCore/history/CachedFrame.cpp (revision 138208) |
+++ 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->hasTouchEventHandlers()) |
+ if (m_document->touchEventHandlerCount()) |
m_document->page()->chrome()->client()->needTouchEvents(true); |
#endif |