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 6a730276ef
commit c3d4abc7a7

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;