Index: chrome/browser/ui/cocoa/status_bubble_mac.mm |
diff --git a/chrome/browser/ui/cocoa/status_bubble_mac.mm b/chrome/browser/ui/cocoa/status_bubble_mac.mm |
index 62507bfe09d1b7da61d7d186f8be393133fd3166..f4bc566eda9899e9b89932d2688a8ff5b5d41163 100644 |
--- a/chrome/browser/ui/cocoa/status_bubble_mac.mm |
+++ b/chrome/browser/ui/cocoa/status_bubble_mac.mm |
@@ -398,8 +398,8 @@ void StatusBubbleMac::Create() { |
[[StatusBubbleAnimationDelegate alloc] initWithStatusBubble:this]; |
[animation_delegate autorelease]; |
[animation setDelegate:animation_delegate]; |
- base::scoped_nsobject<NSMutableDictionary> animation_dictionary( |
- [[window_ animations] mutableCopy]); |
+ NSMutableDictionary* animation_dictionary = |
+ [NSMutableDictionary dictionaryWithDictionary:[window_ animations]]; |
[animation_dictionary.get() setObject:animation forKey:kFadeAnimationKey]; |
Mark Mentovai
2014/02/12 21:14:32
No .get() now. Same on the next line.
Avi (use Gerrit)
2014/02/12 22:23:30
Done.
|
[window_ setAnimations:animation_dictionary.get()]; |