summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions/session_restore.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sessions/session_restore.cc')
-rw-r--r--chrome/browser/sessions/session_restore.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc
index f74ff2d..5be29d0 100644
--- a/chrome/browser/sessions/session_restore.cc
+++ b/chrome/browser/sessions/session_restore.cc
@@ -252,10 +252,10 @@ void TabLoader::Observe(int type,
TabContents* tab_contents = content::Source<TabContents>(source).ptr();
if (!got_first_paint_) {
RenderWidgetHost* render_widget_host =
- GetRenderWidgetHost(&tab_contents->controller());
+ GetRenderWidgetHost(&tab_contents->GetController());
render_widget_hosts_loading_.erase(render_widget_host);
}
- HandleTabClosedOrLoaded(&tab_contents->controller());
+ HandleTabClosedOrLoaded(&tab_contents->GetController());
break;
}
case content::NOTIFICATION_LOAD_STOP: {
@@ -468,7 +468,7 @@ class SessionRestoreImpl : public content::NotificationObserver {
RestoreTabsToBrowser(*(*i), browser, selected_tab_index);
ShowBrowser(browser, initial_tab_count, selected_tab_index);
tab_loader_->TabIsLoading(
- &browser->GetSelectedTabContents()->controller());
+ &browser->GetSelectedTabContents()->GetController());
NotifySessionServiceOfRestoredTabs(browser, initial_tab_count);
}
@@ -661,7 +661,7 @@ class SessionRestoreImpl : public content::NotificationObserver {
active_tab = NULL;
}
tab_loader_->TabIsLoading(
- &browser->GetSelectedTabContents()->controller());
+ &browser->GetSelectedTabContents()->GetController());
NotifySessionServiceOfRestoredTabs(browser, initial_tab_count);
}
@@ -730,7 +730,7 @@ class SessionRestoreImpl : public content::NotificationObserver {
true,
NULL);
if (schedule_load)
- tab_loader_->ScheduleLoad(&tab_contents->controller());
+ tab_loader_->ScheduleLoad(&tab_contents->GetController());
}
Browser* CreateRestoredBrowser(Browser::Type type,