Skip to content

Commit

Permalink
Merge backout of bug 403174
Browse files Browse the repository at this point in the history
  • Loading branch information
mstange committed Sep 22, 2008
2 parents 73ae43a + 8e7e349 commit 82d80ac
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions widget/src/cocoa/nsCocoaWindow.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1736,12 +1736,6 @@ - (id)initWithContentRect:(NSRect)aContentRect styleMask:(unsigned int)aStyle ba
// we respond to it just in case.
if ([self respondsToSelector:@selector(setBottomCornerRounded:)])
[self setBottomCornerRounded:NO];

// This method only exists on Leopard.
if ([self respondsToSelector:@selector(setAutorecalculatesContentBorderThickness:forEdge:)]) {
[self setAutorecalculatesContentBorderThickness:NO forEdge:NSMaxYEdge];
[self setContentBorderThickness:0.0f forEdge:NSMaxYEdge];
}
}
return self;

Expand Down Expand Up @@ -1803,8 +1797,6 @@ - (void)setUnifiedToolbarHeight:(float)aToolbarHeight
if (mUnifiedToolbarHeight == aToolbarHeight)
return;
mUnifiedToolbarHeight = aToolbarHeight;
if ([self respondsToSelector:@selector(setContentBorderThickness:forEdge:)])
[self setContentBorderThickness:aToolbarHeight forEdge:NSMaxYEdge];
[self redrawTitlebar];
}

Expand Down

0 comments on commit 82d80ac

Please sign in to comment.