Index: webkit/glue/webview.h |
diff --git a/webkit/glue/webview.h b/webkit/glue/webview.h |
index 7346c1c565102065fb4db3a6e11f5208d076218d..0b55232ede0c3346f616da2fd3c69d3b33b1d776 100644 |
--- a/webkit/glue/webview.h |
+++ b/webkit/glue/webview.h |
@@ -156,10 +156,10 @@ class WebView : public WebKit::WebWidget { |
// Set the encoding of the current main frame. The value comes from |
// the encoding menu. WebKit uses the function named |
// SetCustomTextEncodingName to do override encoding job. |
- virtual void SetPageEncoding(const std::wstring& encoding_name) = 0; |
+ virtual void SetPageEncoding(const std::string& encoding_name) = 0; |
// Return the canonical encoding name of current main webframe in webview. |
- virtual std::wstring GetMainFrameEncodingName() = 0; |
+ virtual std::string GetMainFrameEncodingName() = 0; |
// Change the text zoom level. It will make the zoom level 20% larger or |
// smaller. If text_only is set, the text size will be changed. When unset, |