Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3293)

Unified Diff: chrome/browser/ui/browser_tab_restore_service_delegate.cc

Issue 9085006: Replace Browser::GetTabContentsAt with GetWebContentsAt and update all callers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac yet again Created 8 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser_tab_restore_service_delegate.cc
===================================================================
--- chrome/browser/ui/browser_tab_restore_service_delegate.cc (revision 116244)
+++ chrome/browser/ui/browser_tab_restore_service_delegate.cc (working copy)
@@ -27,9 +27,9 @@
return browser_->active_index();
}
-TabContents* BrowserTabRestoreServiceDelegate::GetTabContentsAt(
+WebContents* BrowserTabRestoreServiceDelegate::GetWebContentsAt(
int index) const {
- return browser_->GetTabContentsAt(index);
+ return browser_->GetWebContentsAt(index);
}
WebContents* BrowserTabRestoreServiceDelegate::GetSelectedWebContents() const {
@@ -40,7 +40,7 @@
return browser_->IsTabPinned(index);
}
-TabContents* BrowserTabRestoreServiceDelegate::AddRestoredTab(
+WebContents* BrowserTabRestoreServiceDelegate::AddRestoredTab(
const std::vector<TabNavigation>& navigations,
int tab_index,
int selected_navigation,
« no previous file with comments | « chrome/browser/ui/browser_tab_restore_service_delegate.h ('k') | chrome/browser/ui/cocoa/applescript/window_applescript.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698