| Index: third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| index 905666f861b85ff4c83cd2184d5b0c2a71651761..1338efdc0e4e4d347b10e0ef27391720d6216781 100644
|
| --- a/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/ContextMenuClientImpl.cpp
|
| @@ -302,7 +302,8 @@ bool ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu,
|
|
|
| if (selectedFrame != m_webView->page()->mainFrame()) {
|
| data.frameURL = urlFromFrame(selectedFrame);
|
| - HistoryItem* historyItem = selectedFrame->loader().currentItem();
|
| + HistoryItem* historyItem =
|
| + selectedFrame->loader().documentLoader()->historyItem();
|
| if (historyItem)
|
| data.frameHistoryItem = WebHistoryItem(historyItem);
|
| }
|
|
|