Index: content/browser/frame_host/navigation_entry_impl.cc |
diff --git a/content/browser/frame_host/navigation_entry_impl.cc b/content/browser/frame_host/navigation_entry_impl.cc |
index f15f99973b95553d5dfffe854680bfe3bfab7b58..ecf43c456e6f813196c6913d7f948d3e292c6e6d 100644 |
--- a/content/browser/frame_host/navigation_entry_impl.cc |
+++ b/content/browser/frame_host/navigation_entry_impl.cc |
@@ -343,8 +343,7 @@ void NavigationEntryImpl::SetBindings(int bindings) { |
bindings_ = bindings; |
} |
-const base::string16& NavigationEntryImpl::GetTitleForDisplay( |
- const std::string& languages) const { |
+const base::string16& NavigationEntryImpl::GetTitleForDisplay() const { |
// Most pages have real titles. Don't even bother caching anything if this is |
// the case. |
if (!title_.empty()) |
@@ -358,9 +357,9 @@ const base::string16& NavigationEntryImpl::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 (!GetURL().is_empty()) { |
- title = url_formatter::FormatUrl(GetURL(), languages); |
+ title = url_formatter::FormatUrl(GetURL()); |
} |
// For file:// URLs use the filename as the title, not the full path. |