summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tabs/pinned_tab_codec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tabs/pinned_tab_codec.cc')
-rw-r--r--chrome/browser/tabs/pinned_tab_codec.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/tabs/pinned_tab_codec.cc b/chrome/browser/tabs/pinned_tab_codec.cc
index eaa02da..7733708 100644
--- a/chrome/browser/tabs/pinned_tab_codec.cc
+++ b/chrome/browser/tabs/pinned_tab_codec.cc
@@ -54,9 +54,9 @@ static void EncodePinnedTab(TabStripModel* model,
values->Append(value.release());
} else {
NavigationEntry* entry =
- tab_contents->tab_contents()->controller().GetActiveEntry();
- if (!entry && tab_contents->tab_contents()->controller().entry_count())
- entry = tab_contents->tab_contents()->controller().GetEntryAtIndex(0);
+ tab_contents->tab_contents()->GetController().GetActiveEntry();
+ if (!entry && tab_contents->tab_contents()->GetController().entry_count())
+ entry = tab_contents->tab_contents()->GetController().GetEntryAtIndex(0);
if (entry) {
value->SetString(kURL, entry->url().spec());
values->Append(value.release());