diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-14 22:15:00 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-14 22:15:00 +0000 |
commit | 81898992dcbade4de1c6e6ca8953e7fdf0669599 (patch) | |
tree | 6c58bf4ce15c75cf4f45331a2bf2fa73ecfbb0eb /chrome/browser/tabs | |
parent | e87b8b518d43c0342367c0f710299a5dc9ef2e4b (diff) | |
download | chromium_src-81898992dcbade4de1c6e6ca8953e7fdf0669599.zip chromium_src-81898992dcbade4de1c6e6ca8953e7fdf0669599.tar.gz chromium_src-81898992dcbade4de1c6e6ca8953e7fdf0669599.tar.bz2 |
Moves NavigationController::session_id into RestoreTabHelper.
BUG=none
TEST=none
R=nick@chromium.org,mpcomplete@chromium.org,jam@chromium.org
Review URL: http://codereview.chromium.org/7104064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89083 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tabs')
-rw-r--r-- | chrome/browser/tabs/tab_finder.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/tabs/tab_finder.cc b/chrome/browser/tabs/tab_finder.cc index 2280b62..637245f 100644 --- a/chrome/browser/tabs/tab_finder.cc +++ b/chrome/browser/tabs/tab_finder.cc @@ -10,6 +10,7 @@ #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_list.h" +#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" #include "chrome/common/chrome_switches.h" #include "content/browser/tab_contents/navigation_details.h" #include "content/browser/tab_contents/navigation_entry.h" @@ -114,9 +115,8 @@ void TabFinder::Observe(NotificationType type, DCHECK_EQ(type.value, NotificationType::TAB_PARENTED); // The tab was added to a browser. Query for its state now. - NavigationController* controller = - Source<NavigationController>(source).ptr(); - TrackTab(controller->tab_contents()); + TabContentsWrapper* tab = Source<TabContentsWrapper>(source).ptr(); + TrackTab(tab->tab_contents()); } TabFinder::TabFinder() { |