| Index: Source/WebKit/chromium/src/WebFrameImpl.cpp
|
| ===================================================================
|
| --- Source/WebKit/chromium/src/WebFrameImpl.cpp (revision 129319)
|
| +++ Source/WebKit/chromium/src/WebFrameImpl.cpp (working copy)
|
| @@ -1029,7 +1029,7 @@
|
|
|
| m_frame->loader()->prepareForHistoryNavigation();
|
| RefPtr<HistoryItem> currentItem = m_frame->loader()->history()->currentItem();
|
| - m_inSameDocumentHistoryLoad = currentItem->shouldDoSameDocumentNavigationTo(historyItem.get());
|
| + m_inSameDocumentHistoryLoad = currentItem && currentItem->shouldDoSameDocumentNavigationTo(historyItem.get());
|
| m_frame->page()->goToItem(historyItem.get(),
|
| FrameLoadTypeIndexedBackForward);
|
| m_inSameDocumentHistoryLoad = false;
|
|
|