| Index: ash/display/mirror_window_controller_unittest.cc
|
| diff --git a/ash/display/mirror_window_controller_unittest.cc b/ash/display/mirror_window_controller_unittest.cc
|
| index 1e5996bb38b681963acdd972f62fa464c920026a..d00d0ec3214afc1c76ba881df7192eae2c43853d 100644
|
| --- a/ash/display/mirror_window_controller_unittest.cc
|
| +++ b/ash/display/mirror_window_controller_unittest.cc
|
| @@ -26,8 +26,10 @@
|
| namespace ash {
|
|
|
| namespace {
|
| -DisplayInfo CreateDisplayInfo(int64_t id, const gfx::Rect& bounds) {
|
| - DisplayInfo info(id, base::StringPrintf("x-%d", static_cast<int>(id)), false);
|
| +display::ManagedDisplayInfo CreateDisplayInfo(int64_t id,
|
| + const gfx::Rect& bounds) {
|
| + display::ManagedDisplayInfo info(
|
| + id, base::StringPrintf("x-%d", static_cast<int>(id)), false);
|
| info.SetBounds(bounds);
|
| return info;
|
| }
|
| @@ -257,11 +259,11 @@ TEST_F(MirrorWindowControllerTest, MAYBE_DockMode) {
|
| const int64_t internal_id = 1;
|
| const int64_t external_id = 2;
|
|
|
| - const DisplayInfo internal_display_info =
|
| + const display::ManagedDisplayInfo internal_display_info =
|
| CreateDisplayInfo(internal_id, gfx::Rect(0, 0, 500, 500));
|
| - const DisplayInfo external_display_info =
|
| + const display::ManagedDisplayInfo external_display_info =
|
| CreateDisplayInfo(external_id, gfx::Rect(1, 1, 100, 100));
|
| - std::vector<DisplayInfo> display_info_list;
|
| + std::vector<display::ManagedDisplayInfo> display_info_list;
|
|
|
| display_manager->SetMultiDisplayMode(DisplayManager::MIRRORING);
|
|
|
|
|