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 d7b2c848d4f58ef27ed3f87904fcc9b07a1c794a..1506ce157cd38a114c19c9d89c3de71d204db108 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm |
+++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm |
@@ -852,6 +852,9 @@ willPositionSheet:(NSWindow*)sheet |
- (void)windowDidFailToExitFullScreen:(NSWindow*)window { |
[self deregisterForContentViewResizeNotifications]; |
+ |
+ // Force a relayout to try and get the window back into a reasonable state. |
+ [self layoutSubviews]; |
} |
- (void)enableBarVisibilityUpdates { |