Index: Source/web/ContextMenuClientImpl.cpp |
diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp |
index 8eb3d7147be9cb84ac47811e0a5179c9ed2a73bb..03f85fa384f5d9a883dfa9d5a62ac21bb0f2d20a 100644 |
--- a/Source/web/ContextMenuClientImpl.cpp |
+++ b/Source/web/ContextMenuClientImpl.cpp |
@@ -307,7 +307,7 @@ void ContextMenuClientImpl::showContextMenu(const ContextMenu* defaultMenu) |
data.pageURL = urlFromFrame(m_webView->mainFrameImpl()->frame()); |
if (selectedFrame != m_webView->mainFrameImpl()->frame()) { |
data.frameURL = urlFromFrame(selectedFrame); |
- RefPtr<HistoryItem> historyItem = selectedFrame->loader().currentItem(); |
+ RefPtrWillBeRawPtr<HistoryItem> historyItem = selectedFrame->loader().currentItem(); |
if (historyItem) |
data.frameHistoryItem = WebHistoryItem(historyItem); |
} |