Changeset 173445 in webkit
- Timestamp:
- Sep 9, 2014 3:47:02 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r173444 r173445 1 2014-09-09 Dan Bernstein <mitz@apple.com> 2 3 FrameLoader::prepareForHistoryNavigation is unused 4 https://bugs.webkit.org/show_bug.cgi?id=136683 5 6 Reviewed by Tim Horton. 7 8 * loader/FrameLoader.cpp: 9 (WebCore::FrameLoader::prepareForHistoryNavigation): Deleted. 10 * loader/FrameLoader.h: Removed the declaration. 11 1 12 2014-09-09 Manuel Rego Casasnovas <rego@igalia.com> 2 13 -
trunk/Source/WebCore/loader/FrameLoader.cpp
r173277 r173445 1161 1161 } 1162 1162 1163 void FrameLoader::prepareForHistoryNavigation()1164 {1165 // If there is no currentItem, but we still want to engage in1166 // history navigation we need to manufacture one, and update1167 // the state machine of this frame to impersonate having1168 // loaded it.1169 RefPtr<HistoryItem> currentItem = history().currentItem();1170 if (!currentItem) {1171 currentItem = HistoryItem::create();1172 currentItem->setLastVisitWasFailure(true);1173 history().setCurrentItem(currentItem.get());1174 m_frame.page()->backForward().setCurrentItem(currentItem.get());1175 1176 ASSERT(stateMachine().isDisplayingInitialEmptyDocument());1177 stateMachine().advanceTo(FrameLoaderStateMachine::DisplayingInitialEmptyDocumentPostCommit);1178 stateMachine().advanceTo(FrameLoaderStateMachine::CommittedFirstRealLoad);1179 }1180 }1181 1182 1163 void FrameLoader::prepareForLoadStart() 1183 1164 { -
trunk/Source/WebCore/loader/FrameLoader.h
r173176 r173445 103 103 MixedContentChecker& mixedContentChecker() const { return m_mixedContentChecker; } 104 104 105 void prepareForHistoryNavigation();106 105 void setupForReplace(); 107 106
Note: See TracChangeset
for help on using the changeset viewer.