| 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 667e4ae0790765596ef11e5c0dd4dab744f65ad9..c69704f54e42d2a673d2621d6d3d27f02b461ba9 100644
|
| --- a/chrome/browser/chromeos/display/display_preferences.cc
|
| +++ b/chrome/browser/chromeos/display/display_preferences.cc
|
| @@ -8,7 +8,6 @@
|
|
|
| #include "ash/display/display_manager.h"
|
| #include "ash/display/display_pref_util.h"
|
| -#include "ash/display/display_util.h"
|
| #include "ash/display/json_converter.h"
|
| #include "ash/shell.h"
|
| #include "base/strings/string16.h"
|
| @@ -26,6 +25,7 @@
|
| #include "third_party/cros_system_api/dbus/service_constants.h"
|
| #include "ui/display/display.h"
|
| #include "ui/display/manager/display_layout_store.h"
|
| +#include "ui/display/manager/display_manager_utilities.h"
|
| #include "ui/gfx/geometry/insets.h"
|
| #include "url/url_canon.h"
|
| #include "url/url_util.h"
|
| @@ -135,7 +135,7 @@ void LoadDisplayLayouts() {
|
| ids.push_back(id);
|
| }
|
| display::DisplayIdList list =
|
| - ash::GenerateDisplayIdList(ids.begin(), ids.end());
|
| + display::GenerateDisplayIdList(ids.begin(), ids.end());
|
| layout_store->RegisterLayoutForDisplayIdList(list, std::move(layout));
|
| }
|
| }
|
| @@ -214,7 +214,7 @@ void LoadDisplayRotationState() {
|
|
|
| void StoreDisplayLayoutPref(const display::DisplayIdList& list,
|
| const display::DisplayLayout& display_layout) {
|
| - std::string name = ash::DisplayIdListToString(list);
|
| + std::string name = display::DisplayIdListToString(list);
|
|
|
| PrefService* local_state = g_browser_process->local_state();
|
| DictionaryPrefUpdate update(local_state, prefs::kSecondaryDisplays);
|
|
|