diff options
-rw-r--r-- | webkit/glue/webframe_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webframe_impl.cc b/webkit/glue/webframe_impl.cc index a784ef9..7a18b0b 100644 --- a/webkit/glue/webframe_impl.cc +++ b/webkit/glue/webframe_impl.cc @@ -763,7 +763,7 @@ void WebFrameImpl::loadHistoryItem(const WebHistoryItem& item) { if (!current_item) { current_item = HistoryItem::create(); current_item->setLastVisitWasFailure(true); - frame_->loader()->history()->setCurrentItem(current_item); + frame_->loader()->history()->setCurrentItem(current_item.get()); GetWebViewImpl()->SetCurrentHistoryItem(current_item.get()); } |