Changeset 128972 in webkit
- Timestamp:
- Sep 19, 2012 12:20:40 AM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r128963 r128972 1 2012-09-19 Kent Tamura <tkent@chromium.org> 2 3 [Chromium] Fix crash in WebFrameImpl::loadHistoryItem 4 https://bugs.webkit.org/show_bug.cgi?id=96352 5 6 Reviewed by Adam Barth. 7 8 We have some crash reports with the following stack: 9 - HistoryItem::shouldDoSameDocumentNavigationTo. 10 - WebFrameImpl::loadHistoryItem 11 ... 12 13 We don't have reproducible steps, and not sure what's the root 14 cause. Anyway we should check nullness of currentItem because 15 HistoryController::m_currentItem can be 0. 16 17 * src/WebFrameImpl.cpp: 18 (WebKit::WebFrameImpl::loadHistoryItem): 19 Check nullness of currentItem. 20 1 21 2012-09-18 Sailesh Agrawal <sail@chromium.org> 2 22 -
trunk/Source/WebKit/chromium/src/WebFrameImpl.cpp
r128903 r128972 1030 1030 m_frame->loader()->prepareForHistoryNavigation(); 1031 1031 RefPtr<HistoryItem> currentItem = m_frame->loader()->history()->currentItem(); 1032 m_inSameDocumentHistoryLoad = currentItem ->shouldDoSameDocumentNavigationTo(historyItem.get());1032 m_inSameDocumentHistoryLoad = currentItem && currentItem->shouldDoSameDocumentNavigationTo(historyItem.get()); 1033 1033 m_frame->page()->goToItem(historyItem.get(), 1034 1034 FrameLoadTypeIndexedBackForward);
Note: See TracChangeset
for help on using the changeset viewer.