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

Unified Diff: chrome/browser/ui/webui/settings/md_settings_ui.cc

Issue 2721153004: Remove ash_util namespace (Closed)
Patch Set: Created 3 years, 10 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/webui/settings/md_settings_ui.cc
diff --git a/chrome/browser/ui/webui/settings/md_settings_ui.cc b/chrome/browser/ui/webui/settings/md_settings_ui.cc
index 1ee6c03bae93844cf3d34fde16b344206eb41192..81d5f3d8437bb3b2c985ba4b50a04bc1ab4b94de 100644
--- a/chrome/browser/ui/webui/settings/md_settings_ui.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_ui.cc
@@ -172,7 +172,7 @@ MdSettingsUI::MdSettingsUI(content::WebUI* web_ui, const GURL& url)
// TODO(mash): Support Chrome power settings in Mash. crbug.com/644348
bool enable_power_settings =
- !ash_util::IsRunningInMash() &&
+ !IsRunningInMash() &&
(switches::PowerOverlayEnabled() ||
(ash::PowerStatus::Get()->IsBatteryPresent() &&
ash::PowerStatus::Get()->SupportsDualRoleDevices()));

Powered by Google App Engine
This is Rietveld 408576698