| Index: chrome/browser/chromeos/display/display_preferences.cc
|
| diff --git a/chrome/browser/chromeos/display/display_preferences.cc b/chrome/browser/chromeos/display/display_preferences.cc
|
| index 7055eec03b1d98b6860233c5fd8ceba4ab01bca4..94d6796102fcec77d723128991a66a3693f1a0ed 100644
|
| --- a/chrome/browser/chromeos/display/display_preferences.cc
|
| +++ b/chrome/browser/chromeos/display/display_preferences.cc
|
| @@ -7,7 +7,6 @@
|
| #include "ash/display/display_layout_store.h"
|
| #include "ash/display/display_manager.h"
|
| #include "ash/display/display_pref_util.h"
|
| -#include "ash/display/resolution_notification_controller.h"
|
| #include "ash/shell.h"
|
| #include "base/prefs/pref_registry_simple.h"
|
| #include "base/prefs/pref_service.h"
|
| @@ -305,10 +304,10 @@ void StoreDisplayPrefs() {
|
|
|
| // Do not store prefs when the confirmation dialog is shown.
|
| if (!UserCanSaveDisplayPreference() ||
|
| - ash::Shell::GetInstance()->resolution_notification_controller()->
|
| - DoesNotificationTimeout()) {
|
| + !ash::Shell::GetInstance()->ShouldSaveDisplaySettings()) {
|
| return;
|
| }
|
| +
|
| StoreCurrentDisplayLayoutPrefs();
|
| StoreCurrentDisplayProperties();
|
| }
|
|
|