| 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 34cc36c5ab7ddeef01aa4e1ffa53de9ca40d9a1d..1ee6c03bae93844cf3d34fde16b344206eb41192 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 =
|
| - !chrome::IsRunningInMash() &&
|
| + !ash_util::IsRunningInMash() &&
|
| (switches::PowerOverlayEnabled() ||
|
| (ash::PowerStatus::Get()->IsBatteryPresent() &&
|
| ash::PowerStatus::Get()->SupportsDualRoleDevices()));
|
|
|