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

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: fix 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..c772f4818d909eebbf3d382e9dd1fef493a75c20 100644
--- a/chrome/browser/ui/cocoa/status_bubble_mac.mm
+++ b/chrome/browser/ui/cocoa/status_bubble_mac.mm
@@ -398,10 +398,10 @@ void StatusBubbleMac::Create() {
[[StatusBubbleAnimationDelegate alloc] initWithStatusBubble:this];
[animation_delegate autorelease];
[animation setDelegate:animation_delegate];
- base::scoped_nsobject<NSMutableDictionary> animation_dictionary(
- [[window_ animations] mutableCopy]);
- [animation_dictionary.get() setObject:animation forKey:kFadeAnimationKey];
- [window_ setAnimations:animation_dictionary.get()];
+ NSMutableDictionary* animation_dictionary =
+ [NSMutableDictionary dictionaryWithDictionary:[window_ animations]];
+ [animation_dictionary setObject:animation forKey:kFadeAnimationKey];
+ [window_ setAnimations:animation_dictionary];
[view setCornerFlags:kRoundedTopRightCorner];
MouseMoved(gfx::Point(), false);
« 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