| Index: chrome/browser/extensions/tab_helper.cc
|
| diff --git a/chrome/browser/extensions/tab_helper.cc b/chrome/browser/extensions/tab_helper.cc
|
| index 72f9f5ad531ca2c00878a7704a8ccf043b58b9b3..90a6b1c44079061461565480501173552dafcea2 100644
|
| --- a/chrome/browser/extensions/tab_helper.cc
|
| +++ b/chrome/browser/extensions/tab_helper.cc
|
| @@ -33,6 +33,7 @@
|
| #include "chrome/common/extensions/manifest_handlers/app_launch_info.h"
|
| #include "chrome/common/render_messages.h"
|
| #include "chrome/common/url_constants.h"
|
| +#include "components/sessions/content/content_open_tab.h"
|
| #include "content/public/browser/invalidate_type.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/navigation_details.h"
|
| @@ -89,6 +90,9 @@ TabHelper::TabHelper(content::WebContents* web_contents)
|
| // The ActiveTabPermissionManager requires a session ID; ensure this
|
| // WebContents has one.
|
| SessionTabHelper::CreateForWebContents(web_contents);
|
| +
|
| + sessions::ContentOpenTab::CreateForWebContents(web_contents);
|
| +
|
| // The Unretained() is safe because ForEachFrame is synchronous.
|
| web_contents->ForEachFrame(
|
| base::Bind(&TabHelper::SetTabId, base::Unretained(this)));
|
|
|