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 3de70af6fafa78562686ac2d2acd1632131ff39e..6f969b0f02752b28db2cdaa3641819ae137c984a 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_controller_private.mm |
+++ b/chrome/browser/ui/cocoa/browser_window_controller_private.mm |
@@ -796,6 +796,14 @@ willPositionSheet:(NSWindow*)sheet |
} |
- (void)showFullscreenExitBubbleIfNecessary { |
+ // This method is called in response to |
+ // |-updateFullscreenExitBubbleURL:bubbleType:|. If on Lion the system is |
+ // transitioning, do not show the bubble because it will cause visual jank |
+ // <http://crbug.com/130649>. This will be called again as part of |
+ // |-windowDidEnterFullScreen:|, so arrange to do that work then instead. |
+ if (enteringFullscreen_) |
+ return; |
+ |
[presentationModeController_ ensureOverlayHiddenWithAnimation:NO delay:NO]; |
if (fullscreenBubbleType_ == FEB_TYPE_NONE || |