Index: Source/web/ContextMenuClientImpl.cpp |
diff --git a/Source/web/ContextMenuClientImpl.cpp b/Source/web/ContextMenuClientImpl.cpp |
index b3316369538ed8e4720b94e1a6f22e04b926eda4..cc6a1ebaa340a23557e4eab53b9c120e2f3127b6 100644 |
--- a/Source/web/ContextMenuClientImpl.cpp |
+++ b/Source/web/ContextMenuClientImpl.cpp |
@@ -281,7 +281,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()); |