| Index: ash/system/chromeos/rotation/tray_rotation_lock_unittest.cc
|
| diff --git a/ash/system/chromeos/rotation/tray_rotation_lock_unittest.cc b/ash/system/chromeos/rotation/tray_rotation_lock_unittest.cc
|
| index 635bd9ed32d440d1a5e1df80fe3f9f6d0f65d160..1dfd6f460f896b705aed909d6935992ad01600f3 100644
|
| --- a/ash/system/chromeos/rotation/tray_rotation_lock_unittest.cc
|
| +++ b/ash/system/chromeos/rotation/tray_rotation_lock_unittest.cc
|
| @@ -244,14 +244,14 @@ TEST_F(TrayRotationLockTest, PerformActionOnDefaultView) {
|
| // Tests that when the tray is created without the internal display being known,
|
| // that it will still display correctly once the internal display is known.
|
| TEST_F(TrayRotationLockTest, InternalDisplayNotAvailableAtCreation) {
|
| - int64_t internal_display_id = gfx::Display::InternalDisplayId();
|
| + int64_t internal_display_id = display::Display::InternalDisplayId();
|
| TearDownViews();
|
| - gfx::Display::SetInternalDisplayId(gfx::Display::kInvalidDisplayID);
|
| + display::Display::SetInternalDisplayId(display::Display::kInvalidDisplayID);
|
|
|
| std::unique_ptr<TrayRotationLock> tray(new TrayRotationLock(
|
| StatusAreaWidgetTestHelper::GetStatusAreaWidget()->system_tray()));
|
|
|
| - gfx::Display::SetInternalDisplayId(internal_display_id);
|
| + display::Display::SetInternalDisplayId(internal_display_id);
|
| std::unique_ptr<views::View> tray_view(CreateTrayView(tray.get()));
|
| std::unique_ptr<views::View> default_view(tray->CreateDefaultView(
|
| StatusAreaWidgetTestHelper::GetUserLoginStatus()));
|
|
|