| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index 37e888778c1307e392997a508432cf75cda71c15..2af5aac6d492cb3aa52d3e2c09d1a098d618d533 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -12,6 +12,7 @@
|
| #include "base/command_line.h"
|
| #include "base/debug/dump_without_crashing.h"
|
| #include "base/feature_list.h"
|
| +#include "base/i18n/character_encoding.h"
|
| #include "base/lazy_instance.h"
|
| #include "base/location.h"
|
| #include "base/logging.h"
|
| @@ -5129,8 +5130,7 @@ void WebContentsImpl::SetEncoding(const std::string& encoding) {
|
| return;
|
| last_reported_encoding_ = encoding;
|
|
|
| - canonical_encoding_ = GetContentClient()->browser()->
|
| - GetCanonicalEncodingNameByAliasName(encoding);
|
| + canonical_encoding_ = base::GetCanonicalEncodingNameByAliasName(encoding);
|
| }
|
|
|
| bool WebContentsImpl::IsHidden() {
|
|
|