Index: chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc |
diff --git a/chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc b/chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc |
index d4aa99318939ba6c8bb29e76fdebdced4eaea5de..65d66a5b656370525ab7039031ac66c8ee9c2b7e 100644 |
--- a/chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc |
+++ b/chrome/browser/ui/sync/tab_contents_wrapper_synced_tab_delegate.cc |
@@ -46,26 +46,28 @@ const std::string& TabContentsWrapperSyncedTabDelegate::GetExtensionAppId() |
} |
int TabContentsWrapperSyncedTabDelegate::GetCurrentEntryIndex() const { |
- return tab_contents_wrapper_->controller().GetCurrentEntryIndex(); |
+ return tab_contents_wrapper_->tab_contents()->controller(). |
+ GetCurrentEntryIndex(); |
} |
int TabContentsWrapperSyncedTabDelegate::GetEntryCount() const { |
- return tab_contents_wrapper_->controller().entry_count(); |
+ return tab_contents_wrapper_->tab_contents()->controller().entry_count(); |
} |
int TabContentsWrapperSyncedTabDelegate::GetPendingEntryIndex() const { |
- return tab_contents_wrapper_->controller().pending_entry_index(); |
+ return tab_contents_wrapper_->tab_contents()->controller(). |
+ pending_entry_index(); |
} |
NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetPendingEntry() const { |
- return tab_contents_wrapper_->controller().pending_entry(); |
+ return tab_contents_wrapper_->tab_contents()->controller().pending_entry(); |
} |
NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetEntryAtIndex(int i) |
const { |
- return tab_contents_wrapper_->controller().GetEntryAtIndex(i); |
+ return tab_contents_wrapper_->tab_contents()->controller().GetEntryAtIndex(i); |
} |
NavigationEntry* TabContentsWrapperSyncedTabDelegate::GetActiveEntry() const { |
- return tab_contents_wrapper_->controller().GetActiveEntry(); |
+ return tab_contents_wrapper_->tab_contents()->controller().GetActiveEntry(); |
} |