| Index: ash/desktop_background/desktop_background_controller_unittest.cc
|
| diff --git a/ash/desktop_background/desktop_background_controller_unittest.cc b/ash/desktop_background/desktop_background_controller_unittest.cc
|
| index 8751a18c4db1ff788b0e9fc0bb4daabb6ca68dd2..fa2e2a44e4a5ba0684bea236356f6056ea7f577e 100644
|
| --- a/ash/desktop_background/desktop_background_controller_unittest.cc
|
| +++ b/ash/desktop_background/desktop_background_controller_unittest.cc
|
| @@ -68,8 +68,7 @@
|
| class DesktopBackgroundControllerTest : public test::AshTestBase {
|
| public:
|
| DesktopBackgroundControllerTest()
|
| - : controller_(NULL),
|
| - wallpaper_delegate_(NULL) {
|
| + : controller_(NULL) {
|
| }
|
| virtual ~DesktopBackgroundControllerTest() {}
|
|
|
| @@ -150,8 +149,8 @@
|
|
|
| TEST_F(DesktopBackgroundControllerTest, ControllerOwnership) {
|
| // We cannot short-circuit animations for this test.
|
| - ui::ScopedAnimationDurationScaleMode test_duration_mode(
|
| - ui::ScopedAnimationDurationScaleMode::NON_ZERO_DURATION);
|
| + ui::ScopedAnimationDurationScaleMode normal_duration_mode(
|
| + ui::ScopedAnimationDurationScaleMode::NORMAL_DURATION);
|
|
|
| // Create wallpaper and background view.
|
| DesktopBackgroundController* controller =
|
| @@ -182,8 +181,8 @@
|
| // move all desktop views if there are more than one.
|
| TEST_F(DesktopBackgroundControllerTest, BackgroundMovementDuringUnlock) {
|
| // We cannot short-circuit animations for this test.
|
| - ui::ScopedAnimationDurationScaleMode test_duration_mode(
|
| - ui::ScopedAnimationDurationScaleMode::NON_ZERO_DURATION);
|
| + ui::ScopedAnimationDurationScaleMode normal_duration_mode(
|
| + ui::ScopedAnimationDurationScaleMode::NORMAL_DURATION);
|
|
|
| // Reset wallpaper state, see ControllerOwnership above.
|
| DesktopBackgroundController* controller =
|
| @@ -230,8 +229,8 @@
|
| // animation and replace current wallpaper before next animation starts.
|
| TEST_F(DesktopBackgroundControllerTest, ChangeWallpaperQuick) {
|
| // We cannot short-circuit animations for this test.
|
| - ui::ScopedAnimationDurationScaleMode test_duration_mode(
|
| - ui::ScopedAnimationDurationScaleMode::NON_ZERO_DURATION);
|
| + ui::ScopedAnimationDurationScaleMode normal_duration_mode(
|
| + ui::ScopedAnimationDurationScaleMode::NORMAL_DURATION);
|
|
|
| // Reset wallpaper state, see ControllerOwnership above.
|
| DesktopBackgroundController* controller =
|
|
|