Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4865)

Unified Diff: chrome/browser/ui/cocoa/status_bubble_mac.mm

Issue 148113011: Fix the Mac status bubble. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: try upload again Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698