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_; |
+} |