| Index: ios/web/navigation/navigation_item_impl.mm
|
| diff --git a/ios/web/navigation/navigation_item_impl.mm b/ios/web/navigation/navigation_item_impl.mm
|
| index ebecbe8aa150ed5182f443ba8798d93598cd7a79..7d7e74841c3b802eeb86b1a508dc0c7cca966d7d 100644
|
| --- a/ios/web/navigation/navigation_item_impl.mm
|
| +++ b/ios/web/navigation/navigation_item_impl.mm
|
| @@ -127,8 +127,7 @@ const PageDisplayState& NavigationItemImpl::GetPageDisplayState() const {
|
| return page_display_state_;
|
| }
|
|
|
| -const base::string16& NavigationItemImpl::GetTitleForDisplay(
|
| - const std::string& languages) const {
|
| +const base::string16& NavigationItemImpl::GetTitleForDisplay() const {
|
| // Most pages have real titles. Don't even bother caching anything if this is
|
| // the case.
|
| if (!title_.empty())
|
| @@ -142,9 +141,9 @@ const base::string16& NavigationItemImpl::GetTitleForDisplay(
|
| // Use the virtual URL first if any, and fall back on using the real URL.
|
| base::string16 title;
|
| if (!virtual_url_.is_empty()) {
|
| - title = url_formatter::FormatUrl(virtual_url_, languages);
|
| + title = url_formatter::FormatUrl(virtual_url_);
|
| } else if (!url_.is_empty()) {
|
| - title = url_formatter::FormatUrl(url_, languages);
|
| + title = url_formatter::FormatUrl(url_);
|
| }
|
|
|
| // For file:// URLs use the filename as the title, not the full path.
|
|
|