| Index: ash/aura/shell_port_classic.cc
|
| diff --git a/ash/aura/shell_port_classic.cc b/ash/aura/shell_port_classic.cc
|
| index 5da492de9b01f7f098c852c4d4b6c1afb37df910..9d87e869ec42fc806c881927be458698d84534f7 100644
|
| --- a/ash/aura/shell_port_classic.cc
|
| +++ b/ash/aura/shell_port_classic.cc
|
| @@ -54,7 +54,7 @@ ShellPortClassic::~ShellPortClassic() {}
|
|
|
| // static
|
| ShellPortClassic* ShellPortClassic::Get() {
|
| - CHECK(!ShellPort::Get()->IsRunningInMash());
|
| + CHECK(Shell::GetAshConfig() == Config::CLASSIC);
|
| return static_cast<ShellPortClassic*>(ShellPort::Get());
|
| }
|
|
|
| @@ -69,10 +69,6 @@ void ShellPortClassic::Shutdown() {
|
| Shell::Get()->window_tree_host_manager()->Shutdown();
|
| }
|
|
|
| -bool ShellPortClassic::IsRunningInMash() const {
|
| - return false;
|
| -}
|
| -
|
| Config ShellPortClassic::GetAshConfig() const {
|
| return Config::CLASSIC;
|
| }
|
|
|