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

Unified Diff: content/browser/tab_contents/navigation_entry.cc

Issue 7453053: history: use display title, not page title (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: const Created 9 years, 5 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 | « content/browser/tab_contents/navigation_entry.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/navigation_entry.cc
diff --git a/content/browser/tab_contents/navigation_entry.cc b/content/browser/tab_contents/navigation_entry.cc
index a93a1fe68a9695cc6d6aff64c5b099a4d3477575..5d71d00484102952c2e3427d6a5fb3445fa94b36 100644
--- a/content/browser/tab_contents/navigation_entry.cc
+++ b/content/browser/tab_contents/navigation_entry.cc
@@ -72,7 +72,7 @@ void NavigationEntry::set_site_instance(SiteInstance* site_instance) {
}
const string16& NavigationEntry::GetTitleForDisplay(
- const std::string& languages) {
+ const std::string& languages) const {
// Most pages have real titles. Don't even bother caching anything if this is
// the case.
if (!title_.empty())
« no previous file with comments | « content/browser/tab_contents/navigation_entry.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698