Index: ios/web/public/navigation_item.h |
diff --git a/ios/web/public/navigation_item.h b/ios/web/public/navigation_item.h |
index 7d8de13c3fd8ac08b917342ce7db0f2e1781ca7e..d84240b1331fdfad00d303019f500c0f338916a8 100644 |
--- a/ios/web/public/navigation_item.h |
+++ b/ios/web/public/navigation_item.h |
@@ -71,11 +71,8 @@ class NavigationItem : public base::SupportsUserData { |
// Page-related helpers ------------------------------------------------------ |
// Returns the title to be displayed on the tab. This could be the title of |
- // the page if it is available or the URL. |languages| is the list of |
- // accepted languages (e.g., prefs::kAcceptLanguages) or empty if proper |
- // URL formatting isn't needed (e.g., unit tests). |
- virtual const base::string16& GetTitleForDisplay( |
- const std::string& languages) const = 0; |
+ // the page if it is available or the URL. |
+ virtual const base::string16& GetTitleForDisplay() const = 0; |
// Tracking stuff ------------------------------------------------------------ |