Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3819)

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm

Issue 1787553003: mac: Remove uses of a CoreGraphics private API that causes WindowServer crashes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add semicolons. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm
diff --git a/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm
index 4685a25b07c4825e3b9c335c2fffeda0409b0a13..02bcb6e9e64b83b66358f560ecfced2356cbd5db 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm
+++ b/chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm
@@ -60,6 +60,10 @@ ExtensionInstallDialogController::ExtensionInstallDialogController(
base::scoped_nsobject<CustomConstrainedWindowSheet> sheet(
[[CustomConstrainedWindowSheet alloc] initWithCustomWindow:window]);
+ // The extension install dialog can cause window server crashes when using the
+ // complex animations provided by private APIs, so use simple animations. See
+ // https://crbug.com/548824.
+ [sheet setUseSimpleAnimations:YES];
constrained_window_ = CreateAndShowWebModalDialogMac(
this, show_params->GetParentWebContents(), sheet);
« no previous file with comments | « chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698