| 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 fa0b7da4b035f8a8e41789f1957fe34e06ccb543..79ba09b210b6c52642282fac09a103499189bce0 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"
|
| @@ -5080,8 +5081,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() {
|
|
|