Bug 714132 - Retain mBackgroundColor in ToolbarWindow. r=smichaud

This commit is contained in:
Hub Figuière 2012-01-04 13:53:52 -06:00
parent 3597eb815a
commit c8299cdd0b

View File

@ -2315,7 +2315,7 @@ static const NSString* kStateShowsToolbarButton = @"showsToolbarButton";
mColor = [[TitlebarAndBackgroundColor alloc] initWithWindow:self];
// Bypass our guard method below.
[super setBackgroundColor:mColor];
mBackgroundColor = [NSColor whiteColor];
mBackgroundColor = [[NSColor whiteColor] retain];
mUnifiedToolbarHeight = 0.0f;