From dcc8cf2e65d1aa555cce12431a16547e66b469ee Mon Sep 17 00:00:00 2001 From: Steve Block Date: Tue, 27 Apr 2010 16:31:00 +0100 Subject: Merge webkit.org at r58033 : Initial merge by git Change-Id: If006c38561af287c50cd578d251629b51e4d8cd1 --- WebCore/history/CachedFrame.cpp | 4 ++-- WebCore/history/HistoryItem.cpp | 2 +- WebCore/history/qt/HistoryItemQt.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'WebCore/history') diff --git a/WebCore/history/CachedFrame.cpp b/WebCore/history/CachedFrame.cpp index a7261dd..8881066 100644 --- a/WebCore/history/CachedFrame.cpp +++ b/WebCore/history/CachedFrame.cpp @@ -27,7 +27,6 @@ #include "CachedPage.h" #include "CachedFramePlatformData.h" -#include "CString.h" #include "DocumentLoader.h" #include "ExceptionCode.h" #include "EventNames.h" @@ -36,6 +35,7 @@ #include "FrameView.h" #include "Logging.h" #include "PageTransitionEvent.h" +#include #include #if ENABLE(SVG) @@ -105,7 +105,7 @@ void CachedFrameBase::restore() for (unsigned i = 0; i < m_childFrames.size(); ++i) m_childFrames[i]->open(); - m_document->dispatchWindowEvent(PageTransitionEvent::create(eventNames().pageshowEvent, true), m_document); + m_document->enqueuePageshowEvent(PageshowEventPersisted); #if ENABLE(TOUCH_EVENTS) if (m_document->hasListenerType(Document::TOUCH_LISTENER)) m_document->page()->chrome()->client()->needTouchEvents(true); diff --git a/WebCore/history/HistoryItem.cpp b/WebCore/history/HistoryItem.cpp index d641d4e..03aa450 100644 --- a/WebCore/history/HistoryItem.cpp +++ b/WebCore/history/HistoryItem.cpp @@ -26,13 +26,13 @@ #include "config.h" #include "HistoryItem.h" -#include "CString.h" #include "CachedPage.h" #include "Document.h" #include "IconDatabase.h" #include "PageCache.h" #include "ResourceRequest.h" #include +#include #include namespace WebCore { diff --git a/WebCore/history/qt/HistoryItemQt.cpp b/WebCore/history/qt/HistoryItemQt.cpp index c5fb069..beb842c 100644 --- a/WebCore/history/qt/HistoryItemQt.cpp +++ b/WebCore/history/qt/HistoryItemQt.cpp @@ -20,8 +20,8 @@ #include "config.h" #include "HistoryItem.h" -#include "CString.h" #include "FormData.h" +#include bool WebCore::HistoryItem::restoreState(QDataStream& in, int version) { -- cgit v1.1