| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 92f9f7928498fe02b3ea87d4bc43420d52c39322..3d376c9b05bb2bc204c46f14d33e67610a3a90da 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -1695,19 +1695,17 @@
|
| return true;
|
| }
|
|
|
| -void Browser::WebContentsCreated(
|
| - WebContents* source_contents,
|
| - int opener_render_process_id,
|
| - int opener_render_frame_id,
|
| - const std::string& frame_name,
|
| - const GURL& target_url,
|
| - WebContents* new_contents,
|
| - const base::Optional<WebContents::CreateParams>& create_params) {
|
| +void Browser::WebContentsCreated(WebContents* source_contents,
|
| + int opener_render_process_id,
|
| + int opener_render_frame_id,
|
| + const std::string& frame_name,
|
| + const GURL& target_url,
|
| + WebContents* new_contents) {
|
| // Adopt the WebContents now, so all observers are in place, as the network
|
| // requests for its initial navigation will start immediately. The WebContents
|
| // will later be inserted into this browser using Browser::Navigate via
|
| // AddNewContents.
|
| - TabHelpers::AttachTabHelpers(new_contents, create_params);
|
| + TabHelpers::AttachTabHelpers(new_contents);
|
|
|
| // Make the tab show up in the task manager.
|
| task_manager::WebContentsTags::CreateForTabContents(new_contents);
|
|
|