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

Unified Diff: chrome/browser/ui/webui/options/chromeos/display_options_handler.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/options/chromeos/display_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
index db42c9e9c7e3664afd656a046165dfe8e1173478..b72019b888ba1c36a78ea3f39818bc5b3c5f463a 100644
--- a/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
@@ -195,13 +195,13 @@ base::DictionaryValue* ConvertBoundsToValue(const gfx::Rect& bounds) {
DisplayOptionsHandler::DisplayOptionsHandler() {
// TODO(mash) Support Chrome display settings in Mash. crbug.com/548429
- if (!ash_util::IsRunningInMash())
+ if (!IsRunningInMash())
ash::Shell::GetInstance()->window_tree_host_manager()->AddObserver(this);
}
DisplayOptionsHandler::~DisplayOptionsHandler() {
// TODO(mash) Support Chrome display settings in Mash. crbug.com/548429
- if (!ash_util::IsRunningInMash())
+ if (!IsRunningInMash())
ash::Shell::GetInstance()->window_tree_host_manager()->RemoveObserver(this);
}
@@ -380,7 +380,7 @@ void DisplayOptionsHandler::SendAllDisplayInfo() {
void DisplayOptionsHandler::UpdateDisplaySettingsEnabled() {
// TODO(mash) Support Chrome display settings in Mash. crbug.com/548429
- if (ash_util::IsRunningInMash())
+ if (IsRunningInMash())
return;
display::DisplayManager* display_manager = GetDisplayManager();

Powered by Google App Engine
This is Rietveld 408576698