| Index: chrome/browser/ui/browser_navigator.cc
|
| diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
|
| index abf993f818697581907ccd20f65fb0941d6c09be..e8190f627e85602f6c76f35a3bd53c148b133aae 100644
|
| --- a/chrome/browser/ui/browser_navigator.cc
|
| +++ b/chrome/browser/ui/browser_navigator.cc
|
| @@ -61,10 +61,8 @@
|
|
|
| class BrowserNavigatorWebContentsAdoption {
|
| public:
|
| - static void AttachTabHelpers(
|
| - content::WebContents* contents,
|
| - const base::Optional<WebContents::CreateParams>& create_params) {
|
| - TabHelpers::AttachTabHelpers(contents, create_params);
|
| + static void AttachTabHelpers(content::WebContents* contents) {
|
| + TabHelpers::AttachTabHelpers(contents);
|
|
|
| // Make the tab show up in the task manager.
|
| task_manager::WebContentsTags::CreateForTabContents(contents);
|
| @@ -383,8 +381,7 @@
|
| // New tabs can have WebUI URLs that will make calls back to arbitrary
|
| // tab helpers, so the entire set of tab helpers needs to be set up
|
| // immediately.
|
| - BrowserNavigatorWebContentsAdoption::AttachTabHelpers(target_contents,
|
| - create_params);
|
| + BrowserNavigatorWebContentsAdoption::AttachTabHelpers(target_contents);
|
| #if BUILDFLAG(ENABLE_EXTENSIONS)
|
| extensions::TabHelper::FromWebContents(target_contents)->
|
| SetExtensionAppById(params.extension_app_id);
|
|
|