diff options
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index c76b733..29ccbc4 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -2017,7 +2017,7 @@ void TabContents::UpdateTitle(RenderViewHost* rvh, } void TabContents::UpdateEncoding(RenderViewHost* render_view_host, - const std::wstring& encoding) { + const std::string& encoding) { set_encoding(encoding); } @@ -2505,7 +2505,7 @@ void TabContents::Observe(NotificationType type, } } -void TabContents::set_encoding(const std::wstring& encoding) { +void TabContents::set_encoding(const std::string& encoding) { encoding_ = CharacterEncoding::GetCanonicalEncodingNameByAliasName(encoding); } |