Index: content/browser/tab_contents/navigation_entry.h |
diff --git a/content/browser/tab_contents/navigation_entry.h b/content/browser/tab_contents/navigation_entry.h |
index 6cdce325998f698987554fb4a2bd6d3c1dde4839..a43eba92af5ab51ea957ca4c75d3b8f0c9b6f38c 100644 |
--- a/content/browser/tab_contents/navigation_entry.h |
+++ b/content/browser/tab_contents/navigation_entry.h |
@@ -324,7 +324,7 @@ class NavigationEntry { |
// the page if it is available or the URL. |languages| is the list of |
// accpeted languages (e.g., prefs::kAcceptLanguages) or empty if proper |
// URL formatting isn't needed (e.g., unit tests). |
- const string16& GetTitleForDisplay(const std::string& languages); |
+ const string16& GetTitleForDisplay(const std::string& languages) const; |
// Returns true if the current tab is in view source mode. This will be false |
// if there is no navigation. |
@@ -421,7 +421,7 @@ class NavigationEntry { |
// us from having to do URL formatting on the URL evey time the title is |
// displayed. When the URL, virtual URL, or title is set, this should be |
// cleared to force a refresh. |
- string16 cached_display_title_; |
+ mutable string16 cached_display_title_; |
// Copy and assignment is explicitly allowed for this class. |
}; |