| Index: Source/WebCore/history/CachedFrame.cpp
|
| diff --git a/Source/WebCore/history/CachedFrame.cpp b/Source/WebCore/history/CachedFrame.cpp
|
| index 86ba2ac77d9f1820893059b79a644be1c8e4eb4e..78b89693effc78b6766b27c3ec62bc03aedc2d7a 100644
|
| --- a/Source/WebCore/history/CachedFrame.cpp
|
| +++ b/Source/WebCore/history/CachedFrame.cpp
|
| @@ -27,6 +27,8 @@
|
| #include "CachedPage.h"
|
|
|
| #include "CachedFramePlatformData.h"
|
| +#include "Chrome.h"
|
| +#include "ChromeClient.h"
|
| #include "DOMWindow.h"
|
| #include "Document.h"
|
| #include "DocumentLoader.h"
|
| @@ -50,12 +52,6 @@
|
| #include "SVGDocumentExtensions.h"
|
| #endif
|
|
|
| -#if ENABLE(TOUCH_EVENTS)
|
| -#include "Chrome.h"
|
| -#include "ChromeClient.h"
|
| -#endif
|
| -
|
| -
|
| namespace WebCore {
|
|
|
| #ifndef NDEBUG
|
| @@ -123,10 +119,8 @@ void CachedFrameBase::restore()
|
| HistoryItem* historyItem = frame->loader()->history()->currentItem();
|
| m_document->enqueuePopstateEvent(historyItem && historyItem->stateObject() ? historyItem->stateObject() : SerializedScriptValue::nullValue());
|
|
|
| -#if ENABLE(TOUCH_EVENTS)
|
| if (m_document->hasTouchEventHandlers())
|
| m_document->page()->chrome()->client()->needTouchEvents(true);
|
| -#endif
|
|
|
| m_document->documentDidResumeFromPageCache();
|
| }
|
|
|