Index: chrome/browser/metrics/chrome_browser_main_extra_parts_metrics_unittest.cc |
diff --git a/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics_unittest.cc b/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics_unittest.cc |
index ace798f7ecf17fff1e7bb10e3b5dd61f7b457bc9..d6cbf6daa15ebbd84ad5cd82e294d896a23b76aa 100644 |
--- a/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics_unittest.cc |
+++ b/chrome/browser/metrics/chrome_browser_main_extra_parts_metrics_unittest.cc |
@@ -42,12 +42,12 @@ class ChromeBrowserMainExtraPartsMetricsTest : public testing::Test { |
ChromeBrowserMainExtraPartsMetricsTest::ChromeBrowserMainExtraPartsMetricsTest() |
: device_data_manager_test_api_() { |
- gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, &test_screen_); |
+ gfx::Screen::SetScreenInstance(&test_screen_); |
} |
ChromeBrowserMainExtraPartsMetricsTest:: |
~ChromeBrowserMainExtraPartsMetricsTest() { |
- gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, nullptr); |
+ gfx::Screen::SetScreenInstance(nullptr); |
} |
// Verify a TouchEventsEnabled value isn't recorded during construction. |