Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Unified Diff: chrome/browser/page_load_metrics/metrics_web_contents_observer_unittest.cc

Issue 2894973002: Provide WebContents::CreateParams to tab helpers. (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/page_load_metrics/metrics_web_contents_observer_unittest.cc
diff --git a/chrome/browser/page_load_metrics/metrics_web_contents_observer_unittest.cc b/chrome/browser/page_load_metrics/metrics_web_contents_observer_unittest.cc
index ba0fbf0d6b9ddaeb76cca2ee656e642e998dc6e6..2efcc4b3c19e18a73343050d3b51373d33cdde1e 100644
--- a/chrome/browser/page_load_metrics/metrics_web_contents_observer_unittest.cc
+++ b/chrome/browser/page_load_metrics/metrics_web_contents_observer_unittest.cc
@@ -204,7 +204,7 @@ class MetricsWebContentsObserverTest : public ChromeRenderViewHostTestHarness {
// calling AttachObserver() again. Otherwise they will use-after-free the
// observer_.
observer_ = MetricsWebContentsObserver::CreateForWebContents(
- web_contents(), base::WrapUnique(embedder_interface_));
+ web_contents(), base::nullopt, base::WrapUnique(embedder_interface_));
observer_->WasShown();
}

Powered by Google App Engine
This is Rietveld 408576698