summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-06 15:08:12 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-06 15:08:12 +0000
commit902cdf777ff20af9fc5ecc2877781dcb9571df69 (patch)
tree87c24705ad420bf5299402c53a6855259959844b /chrome/browser/sessions
parenta727df08d3cff1b48e116ce215a03ed139828bda (diff)
downloadchromium_src-902cdf777ff20af9fc5ecc2877781dcb9571df69.zip
chromium_src-902cdf777ff20af9fc5ecc2877781dcb9571df69.tar.gz
chromium_src-902cdf777ff20af9fc5ecc2877781dcb9571df69.tar.bz2
Reverting 15399.
broke purify Review URL: http://codereview.chromium.org/115026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sessions')
-rw-r--r--chrome/browser/sessions/tab_restore_service.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sessions/tab_restore_service.cc b/chrome/browser/sessions/tab_restore_service.cc
index 592921e..5399c21 100644
--- a/chrome/browser/sessions/tab_restore_service.cc
+++ b/chrome/browser/sessions/tab_restore_service.cc
@@ -353,8 +353,8 @@ void TabRestoreService::PopulateTab(Tab* tab,
// Browser may be NULL during unit tests.
if (browser) {
tab->browser_id = browser->session_id().id();
- tab->tabstrip_index = browser->tabstrip_model()->GetIndexOfTabContents(
- controller->tab_contents());
+ tab->tabstrip_index =
+ browser->tabstrip_model()->GetIndexOfController(controller);
}
}