| 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 35f0efe14baa41d92a29d23291e5b71ab2ab4d67..5d942a99cc43d742d9023a5f7d6d86c1088742f9 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"
|
| @@ -5072,8 +5073,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() {
|
|
|