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

Unified Diff: chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc

Issue 2058173002: mash: Move SystemTrayDelegate ownership to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review feedback Created 4 years, 6 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/chromeos/policy/device_system_use_24hour_clock_browsertest.cc
diff --git a/chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc b/chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc
index b69cc595fa8e51793beffdaaf4dee3e1d53ac550..ff7daa795b6bd9fe82f3e76b7de2fa588b240a9b 100644
--- a/chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc
+++ b/chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "ash/common/wm_shell.h"
#include "ash/shell.h"
#include "ash/system/date/date_default_view.h"
#include "ash/system/date/date_view.h"
@@ -66,7 +67,7 @@ class SystemUse24HourClockPolicyTest
static bool GetSystemTrayDelegateShouldUse24HourClock() {
chromeos::SystemTrayDelegateChromeOS* tray_delegate =
static_cast<chromeos::SystemTrayDelegateChromeOS*>(
- ash::Shell::GetInstance()->system_tray_delegate());
+ ash::WmShell::Get()->system_tray_delegate());
return tray_delegate->GetShouldUse24HourClockForTesting();
}

Powered by Google App Engine
This is Rietveld 408576698