Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1035)

Unified Diff: ios/web/web_state/ui/crw_web_controller.mm

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/public/navigation_item.h ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « ios/web/public/navigation_item.h ('k') | ios/web/web_state/web_state_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698