| 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 d38c709b7eda29d4d8228b97c9d0773f5c657366..3b0eb86175d2740451740fc551e54b9ecaecaee0 100644
|
| --- a/ash/system/chromeos/rotation/tray_rotation_lock_unittest.cc
|
| +++ b/ash/system/chromeos/rotation/tray_rotation_lock_unittest.cc
|
| @@ -118,21 +118,21 @@ TEST_F(TrayRotationLockTest, CreateTrayViewDuringMaximizeModeAndRotationLock) {
|
| TearDownViews();
|
| Shell::GetInstance()->maximize_mode_controller()->
|
| EnableMaximizeModeWindowManager(true);
|
| - Shell::GetInstance()-> maximize_mode_controller()->set_rotation_locked(true);
|
| + Shell::GetInstance()-> maximize_mode_controller()->SetRotationLocked(true);
|
| SetUpForStatusAreaWidget(StatusAreaWidgetTestHelper::GetStatusAreaWidget());
|
| EXPECT_TRUE(tray_view()->visible());
|
| Shell::GetInstance()->maximize_mode_controller()->
|
| EnableMaximizeModeWindowManager(false);
|
| + EXPECT_FALSE(tray_view()->visible());
|
| }
|
|
|
| // Tests that the enabling of MaximizeMode affects a previously created tray
|
| // view, changing the visibility.
|
| TEST_F(TrayRotationLockTest, TrayViewVisibilityChangesDuringMaximizeMode) {
|
| - TearDownViews();
|
| + ASSERT_FALSE(tray_view()->visible());
|
| Shell::GetInstance()->maximize_mode_controller()->
|
| EnableMaximizeModeWindowManager(true);
|
| - Shell::GetInstance()-> maximize_mode_controller()->set_rotation_locked(true);
|
| - SetUpForStatusAreaWidget(StatusAreaWidgetTestHelper::GetStatusAreaWidget());
|
| + Shell::GetInstance()->maximize_mode_controller()->SetRotationLocked(true);
|
| EXPECT_TRUE(tray_view()->visible());
|
| Shell::GetInstance()->maximize_mode_controller()->
|
| EnableMaximizeModeWindowManager(false);
|
|
|