| Index: chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm
|
| diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm b/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm
|
| index 28668aac092df32628b8ef86d82ec2eed3e0b42c..ab3d83eac02d6c8c16a508871a340531b5cfe5e6 100644
|
| --- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm
|
| +++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm
|
| @@ -17,7 +17,7 @@
|
| }
|
|
|
| - (void)showSheetForWindow:(NSWindow*)window {
|
| - scoped_nsobject<NSAnimation> animation(
|
| + base::scoped_nsobject<NSAnimation> animation(
|
| [[ConstrainedWindowAnimationShow alloc] initWithWindow:customWindow_]);
|
| [window addChildWindow:customWindow_
|
| ordered:NSWindowAbove];
|
| @@ -29,7 +29,7 @@
|
|
|
| - (void)closeSheetWithAnimation:(BOOL)withAnimation {
|
| if (withAnimation) {
|
| - scoped_nsobject<NSAnimation> animation(
|
| + base::scoped_nsobject<NSAnimation> animation(
|
| [[ConstrainedWindowAnimationHide alloc] initWithWindow:customWindow_]);
|
| [animation startAnimation];
|
| }
|
| @@ -47,7 +47,7 @@
|
| }
|
|
|
| - (void)pulseSheet {
|
| - scoped_nsobject<NSAnimation> animation(
|
| + base::scoped_nsobject<NSAnimation> animation(
|
| [[ConstrainedWindowAnimationPulse alloc] initWithWindow:customWindow_]);
|
| [animation startAnimation];
|
| }
|
|
|