Changeset 98389 in webkit
- Timestamp:
- Oct 25, 2011, 1:46:14 PM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
loader/HistoryController.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r98388 r98389 1 2011-10-25 Anders Carlsson <andersca@apple.com> 2 3 REGRESSION(97821): HistoryController::itemsAreClones crashes a lot 4 https://bugs.webkit.org/show_bug.cgi?id=70827 5 <rdar://problem/10342925> 6 7 Reviewed by Adam Barth. 8 9 Check that m_currentItem is non-null before passing it to itemsAreClones. While I wasn't 10 able to make a test case that would reproduce this crash, we do check m_currentItem for null 11 everywhere else, and the crash log indicates that this would fix the crash. 12 13 * loader/HistoryController.cpp: 14 (WebCore::HistoryController::recursiveUpdateForCommit): 15 1 16 2011-10-25 Adam Barth <abarth@webkit.org> 2 17 -
trunk/Source/WebCore/loader/HistoryController.cpp
r97821 r98389 473 473 // (a matching URL and frame tree snapshot), just restore the scroll position. 474 474 // Save form state (works from currentItem, since m_frameLoadComplete is true) 475 if ( itemsAreClones(m_currentItem.get(), m_provisionalItem.get())) {475 if (m_currentItem && itemsAreClones(m_currentItem.get(), m_provisionalItem.get())) { 476 476 ASSERT(m_frameLoadComplete); 477 477 saveDocumentState();
Note:
See TracChangeset
for help on using the changeset viewer.