Bug 1354715 - Restore the right background color. r?spohl draft
authorMarkus Stange <mstange@themasta.com>
Fri, 07 Apr 2017 18:05:24 -0400
changeset 558684 366b2d8c4c79a229a0b457f75aefc96dbb12e695
parent 558683 46e9b9b4c9c16833b791f0a55f8600d0630efd38
child 623248 b6c5dffebb407bc2466a5be6ca507730fcf47cab
push id52932
push userbmo:mstange@themasta.com
push dateFri, 07 Apr 2017 22:09:18 +0000
reviewersspohl
bugs1354715
milestone55.0a1
Bug 1354715 - Restore the right background color. r?spohl MozReview-Commit-ID: K7SF3rNPWUT
widget/cocoa/nsCocoaWindow.mm
--- a/widget/cocoa/nsCocoaWindow.mm
+++ b/widget/cocoa/nsCocoaWindow.mm
@@ -3412,17 +3412,17 @@ static const NSString* kStateCollectionB
 
 - (void)setTemporaryBackgroundColor
 {
   [super setBackgroundColor:[NSColor whiteColor]];
 }
 
 - (void)restoreBackgroundColor
 {
-  [super setBackgroundColor:mBackgroundColor];
+  [super setBackgroundColor:mColor];
 }
 
 - (void)setTitlebarNeedsDisplayInRect:(NSRect)aRect
 {
   [self setTitlebarNeedsDisplayInRect:aRect sync:NO];
 }
 
 - (void)setTitlebarNeedsDisplayInRect:(NSRect)aRect sync:(BOOL)aSync