| Index: ash/system/chromeos/screen_layout_observer.cc
|
| diff --git a/ash/system/chromeos/screen_layout_observer.cc b/ash/system/chromeos/screen_layout_observer.cc
|
| index 85f8895b312b0e2915496213990844f261a3399f..38cda20f996b45466f8e8bf1183c418c0b1ac4d4 100644
|
| --- a/ash/system/chromeos/screen_layout_observer.cc
|
| +++ b/ash/system/chromeos/screen_layout_observer.cc
|
| @@ -300,11 +300,8 @@ void ScreenLayoutObserver::OnDisplayConfigurationChanged() {
|
| DisplayInfoMap old_info;
|
| UpdateDisplayInfo(&old_info);
|
|
|
| - if (!WmShell::Get()
|
| - ->system_tray_delegate()
|
| - ->ShouldShowDisplayNotification()) {
|
| + if (!show_notifications_for_testing)
|
| return;
|
| - }
|
|
|
| base::string16 message;
|
| base::string16 additional_message;
|
|
|