| Index: chrome/browser/sessions/restore_tab_helper.cc
|
| diff --git a/chrome/browser/sessions/restore_tab_helper.cc b/chrome/browser/sessions/restore_tab_helper.cc
|
| index f639c913a576112130273f7eb3aa2f478383eef7..c33cc3cec6afb24d654a8047a3f594cc642c7a56 100644
|
| --- a/chrome/browser/sessions/restore_tab_helper.cc
|
| +++ b/chrome/browser/sessions/restore_tab_helper.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "chrome/browser/sessions/restore_tab_helper.h"
|
|
|
| -#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/browser/ui/tab_contents/tab_contents.h"
|
| #include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/extensions/extension_messages.h"
|
| #include "content/public/browser/notification_service.h"
|
| @@ -24,12 +24,11 @@ void RestoreTabHelper::SetWindowID(const SessionID& id) {
|
| window_id_ = id;
|
|
|
| // TODO(mpcomplete): Maybe this notification should send out a WebContents.
|
| - TabContentsWrapper* tab =
|
| - TabContentsWrapper::GetCurrentWrapperForContents(web_contents());
|
| + TabContents* tab = TabContents::FromWebContents(web_contents());
|
| if (tab) {
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_TAB_PARENTED,
|
| - content::Source<TabContentsWrapper>(tab),
|
| + content::Source<TabContents>(tab),
|
| content::NotificationService::NoDetails());
|
| }
|
|
|
|
|