Bug 1504833 - Remove vestigial TitlebarAndBackgroundColor definition. r=spohl
authorMarkus Stange <mstange@themasta.com>
Mon, 05 Nov 2018 21:17:12 +0000
changeset 444485 14f6d3d137ac8edab4cec6254693e42db59ab31b
parent 444484 65c79ddf98f0fd8c9bf88244fce40e2b1c7b2c4b
child 444486 10d5db1fc33fa0ef81202e9a6fdd1771a85c1af9
push id34996
push userrgurzau@mozilla.com
push dateTue, 06 Nov 2018 09:53:23 +0000
treeherdermozilla-central@e160f0a60e4f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersspohl
bugs1504833
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1504833 - Remove vestigial TitlebarAndBackgroundColor definition. r=spohl Differential Revision: https://phabricator.services.mozilla.com/D10962
widget/cocoa/nsCocoaWindow.h
--- a/widget/cocoa/nsCocoaWindow.h
+++ b/widget/cocoa/nsCocoaWindow.h
@@ -152,27 +152,16 @@ typedef struct _nsCocoaWindowList {
 - (nsCocoaWindow*)geckoWidget;
 - (bool)toplevelActiveState;
 - (void)sendToplevelActivateEvents;
 - (void)sendToplevelDeactivateEvents;
 @end
 
 @class ToolbarWindow;
 
-// NSColor subclass that allows us to draw separate colors both in the titlebar
-// and for background of the window.
-@interface TitlebarAndBackgroundColor : NSColor
-{
-  ToolbarWindow *mWindow; // [WEAK] (we are owned by the window)
-}
-
-- (id)initWithWindow:(ToolbarWindow*)aWindow;
-
-@end
-
 // NSWindow subclass for handling windows with toolbars.
 @interface ToolbarWindow : BaseWindow
 {
   CGFloat mUnifiedToolbarHeight;
   CGFloat mSheetAttachmentPosition;
   NSRect mWindowButtonsRect;
   NSRect mFullScreenButtonRect;
 }