| Index: chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_controller_private.mm b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| index 9b0aa210628307705ed0bfa2d7b37c8b9ea7bd82..6a6a4f0bea3565b562db7358d194b799c001ab11 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm
|
| @@ -185,6 +185,14 @@ willPositionSheet:(NSWindow*)sheet
|
| NSWindow* window = [self window];
|
| NSView* contentView = [window contentView];
|
| NSRect contentBounds = [contentView bounds];
|
| +
|
| + // Lay out the chromeContentView.
|
| + NSView* chromeContentView = [self chromeContentView];
|
| + BOOL autoresizesSubviews = [chromeContentView autoresizesSubviews];
|
| + [chromeContentView setAutoresizesSubviews:NO];
|
| + [chromeContentView setFrame:contentBounds];
|
| + [chromeContentView setAutoresizesSubviews:autoresizesSubviews];
|
| +
|
| CGFloat minX = NSMinX(contentBounds);
|
| CGFloat minY = NSMinY(contentBounds);
|
| CGFloat width = NSWidth(contentBounds);
|
|
|