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(); |
} |