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

Unified Diff: ash/mus/bridge/shell_port_mash.cc

Issue 2815043002: Removes ShellPort::IsRunningInMash() (Closed)
Patch Set: dont set instance_ in constructor Created 3 years, 8 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
« no previous file with comments | « ash/mus/bridge/shell_port_mash.h ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/bridge/shell_port_mash.cc
diff --git a/ash/mus/bridge/shell_port_mash.cc b/ash/mus/bridge/shell_port_mash.cc
index 7285ebd219fc8a1b080950977a07674d8f66cf32..1a78a0a5a967c52721d8d8517f954e5de6efa541 100644
--- a/ash/mus/bridge/shell_port_mash.cc
+++ b/ash/mus/bridge/shell_port_mash.cc
@@ -154,10 +154,6 @@ void ShellPortMash::Shutdown() {
window_manager_->DeleteAllRootWindowControllers();
}
-bool ShellPortMash::IsRunningInMash() const {
- return GetAshConfig() == Config::MASH;
-}
-
Config ShellPortMash::GetAshConfig() const {
return window_manager_->config();
}
« no previous file with comments | « ash/mus/bridge/shell_port_mash.h ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698