| Index: ash/shell.cc
|
| diff --git a/ash/shell.cc b/ash/shell.cc
|
| index 38437f3f5aa6f1c313640e71718cd64e521e6f32..61379d587dbbeef3f3137f90b83b5ea7d2beec5b 100644
|
| --- a/ash/shell.cc
|
| +++ b/ash/shell.cc
|
| @@ -553,12 +553,6 @@
|
| g_is_browser_process_with_mash = true;
|
| }
|
|
|
| -void Shell::OnAppListVisibilityChanged(bool visible,
|
| - aura::Window* root_window) {
|
| - for (auto& observer : shell_observers_)
|
| - observer.OnAppListVisibilityChanged(visible, root_window);
|
| -}
|
| -
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // Shell, private:
|
|
|
| @@ -919,9 +913,11 @@
|
| if (!display_initialized)
|
| display_manager_->InitDefaultDisplay();
|
|
|
| + // TODO(sky): move this to chrome for mash. http://crbug.com/729824.
|
| + if (ShouldEnableSimplifiedDisplayManagement())
|
| + display_manager_->RefreshFontParams();
|
| +
|
| if (config == Config::CLASSIC) {
|
| - display_manager_->RefreshFontParams();
|
| -
|
| aura::Env::GetInstance()->set_context_factory(init_params.context_factory);
|
| aura::Env::GetInstance()->set_context_factory_private(
|
| init_params.context_factory_private);
|
|
|