Index: Source/WebCore/loader/FrameLoader.cpp |
=================================================================== |
--- Source/WebCore/loader/FrameLoader.cpp (revision 109935) |
+++ Source/WebCore/loader/FrameLoader.cpp (working copy) |
@@ -736,6 +736,7 @@ |
// OK, completed. |
m_isComplete = true; |
+ m_requestedHistoryItem = 0; |
m_frame->document()->setReadyState(Document::Complete); |
RefPtr<Frame> protect(m_frame); |
@@ -3166,6 +3167,7 @@ |
// Loads content into this frame, as specified by history item |
void FrameLoader::loadItem(HistoryItem* item, FrameLoadType loadType) |
{ |
+ m_requestedHistoryItem = item; |
HistoryItem* currentItem = history()->currentItem(); |
bool sameDocumentNavigation = currentItem && item->shouldDoSameDocumentNavigationTo(currentItem); |