Index: Source/web/ContextMenuClientImpl.cpp |
diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp |
index 13ad86a5ff330f69302cc3dd9cca24ed245dbcbf..1ee4501352bc2297c05fc10c56d3273eca996ae8 100644 |
--- a/Source/web/ContextMenuClientImpl.cpp |
+++ b/Source/web/ContextMenuClientImpl.cpp |
@@ -282,7 +282,7 @@ void ContextMenuClientImpl::showContextMenu(const WebCore::ContextMenu* defaultM |
// If it's not a link, an image, a media element, or an image/media link, |
// show a selection menu or a more generic page menu. |
if (selectedFrame->document()->loader()) |
- data.frameEncoding = selectedFrame->document()->encoding(); |
+ data.frameEncoding = selectedFrame->document()->encodingName(); |
// Send the frame and page URLs in any case. |
data.pageURL = urlFromFrame(m_webView->mainFrameImpl()->frame()); |