summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_contents.cc
diff options
context:
space:
mode:
authorjungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-22 20:23:52 +0000
committerjungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-22 20:23:52 +0000
commit50dd8bb2e19a67adcef0f3bfbabd935a4e94de3c (patch)
treeb6880001fbf5fc69c2c7417ca26682d3629062ed /chrome/browser/web_contents.cc
parenta74c9d049e625be4b542697e1a77c10364dc7cd2 (diff)
downloadchromium_src-50dd8bb2e19a67adcef0f3bfbabd935a4e94de3c.zip
chromium_src-50dd8bb2e19a67adcef0f3bfbabd935a4e94de3c.tar.gz
chromium_src-50dd8bb2e19a67adcef0f3bfbabd935a4e94de3c.tar.bz2
Make the character encoding override work again. There are two other bugs with character encoding override, but it seems that it's better to fix them separately.
BUG=3315 Review URL: http://codereview.chromium.org/7647 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3759 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_contents.cc')
-rw-r--r--chrome/browser/web_contents.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/web_contents.cc b/chrome/browser/web_contents.cc
index c0a048d..f283c64 100644
--- a/chrome/browser/web_contents.cc
+++ b/chrome/browser/web_contents.cc
@@ -789,8 +789,8 @@ void WebContents::UpdateTitle(RenderViewHost* rvh,
void WebContents::UpdateEncoding(RenderViewHost* render_view_host,
- const std::wstring& encoding_name) {
- set_encoding(encoding_name);
+ const std::wstring& encoding) {
+ set_encoding(encoding);
}
void WebContents::UpdateTargetURL(int32 page_id, const GURL& url) {