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

Unified Diff: chrome/browser/navigation_entry.cc

Issue 7905: This fixes http://code.google.com/p/chromium/issues/detail?id=2529, which is... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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 | « chrome/browser/navigation_entry.h ('k') | chrome/browser/tab_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/navigation_entry.cc
===================================================================
--- chrome/browser/navigation_entry.cc (revision 3749)
+++ chrome/browser/navigation_entry.cc (working copy)
@@ -54,3 +54,9 @@
has_post_data_(false),
restored_(false) {
}
+
+const std::wstring& NavigationEntry::GetTitleForDisplay() {
+ if (title_.empty())
+ return url_as_string_;
+ return title_;
+}
« no previous file with comments | « chrome/browser/navigation_entry.h ('k') | chrome/browser/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698