summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/new_tab_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/new_tab_ui.cc')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index cf73d42..5a764b4 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -803,7 +803,7 @@ bool NewTabUIContents::Navigate(const NavigationEntry& entry, bool reload) {
// also the pending entry.
NavigationEntry* pending_entry = controller()->GetPendingEntry();
DCHECK(pending_entry && pending_entry == &entry);
- pending_entry->SetTitle(forced_title_);
+ pending_entry->set_title(forced_title_);
return result;
}