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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc

Issue 2355063002: Separate ash::test::DisplayManagerTestApi from ash (Closed)
Patch Set: review comments Created 4 years, 2 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/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc
index 8d6958b53cae371740a454438293f71ef4267de4..243bf0000f68d834deb910dfd66d889e1fbda230 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos_browsertest_chromeos.cc
@@ -68,7 +68,9 @@ class DisplayNotificationsTest : public InProcessBrowserTest {
void SetUp() override { InProcessBrowserTest::SetUp(); }
void UpdateDisplay(const std::string& display_specs) {
- ash::test::DisplayManagerTestApi().UpdateDisplay(display_specs);
+ ash::test::DisplayManagerTestApi(
+ ash::Shell::GetInstance()->display_manager())
+ .UpdateDisplay(display_specs);
}
message_center::NotificationList::Notifications GetVisibleNotifications()

Powered by Google App Engine
This is Rietveld 408576698