Bug 1335191 - Remove unused mTitlebarView field. r?spohl
This field has been unused since https://hg.mozilla.org/mozilla-central/rev/18fc103cb90e .
MozReview-Commit-ID: F5KJ0GE7h8H
--- a/widget/cocoa/nsCocoaWindow.h
+++ b/widget/cocoa/nsCocoaWindow.h
@@ -173,17 +173,16 @@ typedef struct _nsCocoaWindowList {
@end
// NSWindow subclass for handling windows with toolbars.
@interface ToolbarWindow : BaseWindow
{
TitlebarAndBackgroundColor *mColor; // strong
CGFloat mUnifiedToolbarHeight;
NSColor *mBackgroundColor; // strong
- NSView *mTitlebarView; // strong
NSRect mWindowButtonsRect;
NSRect mFullScreenButtonRect;
}
// Pass nil here to get the default appearance.
- (void)setTitlebarColor:(NSColor*)aColor forActiveWindow:(BOOL)aActive;
- (void)setUnifiedToolbarHeight:(CGFloat)aHeight;
- (CGFloat)unifiedToolbarHeight;
- (CGFloat)titlebarHeight;
--- a/widget/cocoa/nsCocoaWindow.mm
+++ b/widget/cocoa/nsCocoaWindow.mm
@@ -3599,17 +3599,16 @@ static const NSString* kStateCollectionB
- (void)dealloc
{
NS_OBJC_BEGIN_TRY_ABORT_BLOCK;
[super setBackgroundColor:[NSColor whiteColor]];
[mColor release];
[mBackgroundColor release];
- [mTitlebarView release];
[super dealloc];
NS_OBJC_END_TRY_ABORT_BLOCK;
}
- (void)setTitlebarColor:(NSColor*)aColor forActiveWindow:(BOOL)aActive
{
[super setTitlebarColor:aColor forActiveWindow:aActive];