Bug 1354715 - Restore the right background color. r=spohl. a=gchang
authorMarkus Stange <mstange@themasta.com>
Fri, 07 Apr 2017 18:05:24 -0400
changeset 395904 105e456d811b8c4616de688e9afdcf0af620b80b
parent 395903 0c74a611a3ec7c12c6f57ebdda6837d47536dbfe
child 395905 8059a9af7490bd2271d4a737360e4a25462fa7e6
push id1468
push userasasaki@mozilla.com
push dateMon, 05 Jun 2017 19:31:07 +0000
treeherdermozilla-release@0641fc6ee9d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersspohl, gchang
bugs1354715
milestone54.0a2
Bug 1354715 - Restore the right background color. r=spohl. a=gchang MozReview-Commit-ID: K7SF3rNPWUT
widget/cocoa/nsCocoaWindow.mm
--- a/widget/cocoa/nsCocoaWindow.mm
+++ b/widget/cocoa/nsCocoaWindow.mm
@@ -3414,17 +3414,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