| Index: ui/base/cocoa/constrained_window/constrained_window_animation_unittest.mm
|
| diff --git a/ui/base/cocoa/constrained_window/constrained_window_animation_unittest.mm b/ui/base/cocoa/constrained_window/constrained_window_animation_unittest.mm
|
| index 995d042ec93f3e814c9735dfcf97b7f34011c926..d7637190c8be6fd1a0f0e8e4dac1da81da8ea186 100644
|
| --- a/ui/base/cocoa/constrained_window/constrained_window_animation_unittest.mm
|
| +++ b/ui/base/cocoa/constrained_window/constrained_window_animation_unittest.mm
|
| @@ -2,10 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#import "ui/base/cocoa/constrained_window/constrained_window_animation.h"
|
| +
|
| +#include <memory>
|
| +
|
| #include "base/mac/scoped_nsobject.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/message_loop/message_pump_mac.h"
|
| -#import "ui/base/cocoa/constrained_window/constrained_window_animation.h"
|
| #import "ui/gfx/test/ui_cocoa_test_helper.h"
|
|
|
| // This class runs an animation for exactly two frames then end it.
|
| @@ -13,7 +15,7 @@
|
| : NSObject<NSAnimationDelegate> {
|
| @private
|
| CGFloat frameCount_;
|
| - scoped_ptr<base::MessagePumpNSRunLoop> message_pump_;
|
| + std::unique_ptr<base::MessagePumpNSRunLoop> message_pump_;
|
| }
|
|
|
| - (void)runAnimation:(NSAnimation*)animation;
|
|
|