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

Unified Diff: chrome/browser/cocoa/bookmark_bubble_window.mm

Issue 333017: Fixes up bookmark bubbles and the browser window so that they shut down corre... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
Index: chrome/browser/cocoa/bookmark_bubble_window.mm
===================================================================
--- chrome/browser/cocoa/bookmark_bubble_window.mm (revision 29973)
+++ chrome/browser/cocoa/bookmark_bubble_window.mm (working copy)
@@ -6,12 +6,14 @@
@implementation BookmarkBubbleWindow
-- (id)initWithContentRect:(NSRect)contentRect {
+- (id)initWithContentRect:(NSRect)contentRect
+ styleMask:(NSUInteger)aStyle
+ backing:(NSBackingStoreType)bufferingType
+ defer:(BOOL)flag {
if ((self = [super initWithContentRect:contentRect
styleMask:NSBorderlessWindowMask
- backing:NSBackingStoreBuffered
- defer:YES])) {
- [self setReleasedWhenClosed:NO];
+ backing:bufferingType
+ defer:flag])) {
[self setBackgroundColor:[NSColor clearColor]];
[self setExcludedFromWindowsMenu:YES];
[self setAlphaValue:1.0];

Powered by Google App Engine
This is Rietveld 408576698