Index: chrome/browser/ui/tab_helpers.cc |
diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc |
index ff3f0271150f5c9890957c179e7f8decdbbc0803..b565c76b692dac679d9177c88e56a2c187d523f0 100644 |
--- a/chrome/browser/ui/tab_helpers.cc |
+++ b/chrome/browser/ui/tab_helpers.cc |
@@ -138,7 +138,9 @@ const char kTabContentsAttachedTabHelpersUserDataKey[] = |
} // namespace |
// static |
-void TabHelpers::AttachTabHelpers(WebContents* web_contents) { |
+void TabHelpers::AttachTabHelpers( |
+ WebContents* web_contents, |
+ const base::Optional<WebContents::CreateParams>& create_params) { |
// If already adopted, nothing to be done. |
base::SupportsUserData::Data* adoption_tag = |
web_contents->GetUserData(&kTabContentsAttachedTabHelpersUserDataKey); |
@@ -202,7 +204,7 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) { |
MixedContentSettingsTabHelper::CreateForWebContents(web_contents); |
NavigationCorrectionTabObserver::CreateForWebContents(web_contents); |
NavigationMetricsRecorder::CreateForWebContents(web_contents); |
- chrome::InitializePageLoadMetricsForWebContents(web_contents); |
+ chrome::InitializePageLoadMetricsForWebContents(web_contents, create_params); |
PermissionRequestManager::CreateForWebContents(web_contents); |
PopupBlockerTabHelper::CreateForWebContents(web_contents); |
PrefsTabHelper::CreateForWebContents(web_contents); |