| Index: ios/web/web_state/ui/crw_web_controller.mm
|
| diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm
|
| index 9966567460b8bf4cccedde7f06fc2cc19cbbcba3..46ccc9011fa40ff2fd91127ca401da028556f4fe 100644
|
| --- a/ios/web/web_state/ui/crw_web_controller.mm
|
| +++ b/ios/web/web_state/ui/crw_web_controller.mm
|
| @@ -3631,10 +3631,7 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
|
| title = @"JavaScript";
|
| } else {
|
| DCHECK(web::GetWebClient());
|
| - const std::string& acceptLangs = web::GetWebClient()->GetAcceptLangs(
|
| - self.webStateImpl->GetBrowserState());
|
| - base::string16 urlText =
|
| - url_formatter::FormatUrl(GURL(href), acceptLangs);
|
| + base::string16 urlText = url_formatter::FormatUrl(GURL(href));
|
| title = base::SysUTF16ToNSString(urlText);
|
| }
|
| }
|
|
|