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