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

Unified Diff: chrome/browser/history/history_tab_helper.cc

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
Index: chrome/browser/history/history_tab_helper.cc
diff --git a/chrome/browser/history/history_tab_helper.cc b/chrome/browser/history/history_tab_helper.cc
index fdcb645f33c65d246bbd4289c8c8a7873f3433cc..c633e3c9ad1b05c83343a5e8428ec84a4122faf0 100644
--- a/chrome/browser/history/history_tab_helper.cc
+++ b/chrome/browser/history/history_tab_helper.cc
@@ -48,8 +48,7 @@ void HistoryTabHelper::UpdateHistoryForNavigation(
void HistoryTabHelper::UpdateHistoryPageTitle(const NavigationEntry& entry) {
history::HistoryService* hs = GetHistoryService();
if (hs)
- hs->SetPageTitle(entry.GetVirtualURL(),
- entry.GetTitleForDisplay(std::string()));
+ hs->SetPageTitle(entry.GetVirtualURL(), entry.GetTitleForDisplay());
}
history::HistoryAddPageArgs
« no previous file with comments | « chrome/browser/history/history_service_factory.cc ('k') | chrome/browser/interstitials/security_interstitial_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698