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

Issue 1787553003: mac: Remove uses of a CoreGraphics private API that causes WindowServer crashes. (Closed)

Created:
4 years, 9 months ago by erikchen
Modified:
4 years, 9 months ago
Reviewers:
tapted
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac: Implement a simple animation for CustomConstrainedWindowSheet. The original animation uses CoreGraphics private APIs. This causes WindowServer crashes when used by the extension install dialog. This CL adds a simple animation for the extension install dialog to use. The code for performing the simple animation came from tapted's CL: https://codereview.chromium.org/1794023004 BUG=515627, 548824 Committed: https://crrev.com/480c8640a6aaed2cde12711c2985d8c6a4221060 Cr-Commit-Position: refs/heads/master@{#381162}

Patch Set 1 #

Patch Set 2 : Compile error. #

Total comments: 1

Patch Set 3 : Comments from tapted. #

Total comments: 4

Patch Set 4 : Comments from tapted. #

Patch Set 5 : Add semicolons. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -5 lines) Patch
M chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm View 1 2 3 4 2 chunks +37 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_install_dialog_controller.mm View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (13 generated)
erikchen
tapted: Please review.
4 years, 9 months ago (2016-03-11 20:53:17 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787553003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787553003/1
4 years, 9 months ago (2016-03-11 20:53:29 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/79712) mac_chromium_rel_ng on ...
4 years, 9 months ago (2016-03-11 21:05:08 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787553003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787553003/20001
4 years, 9 months ago (2016-03-11 21:14:08 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-11 22:05:40 UTC) #10
tapted
It's possible this fixes http://crbug.com/436884 as well. But, this will also impact a lot of ...
4 years, 9 months ago (2016-03-14 00:03:22 UTC) #11
erikchen
On 2016/03/14 00:03:22, tapted wrote: > It's possible this fixes http://crbug.com/436884 as well. > > ...
4 years, 9 months ago (2016-03-14 20:56:40 UTC) #12
tapted
On 2016/03/14 20:56:40, erikchen wrote: > On 2016/03/14 00:03:22, tapted wrote: > > It's possible ...
4 years, 9 months ago (2016-03-14 22:56:33 UTC) #13
tapted
On 2016/03/14 20:56:40, erikchen wrote: > Note that the CL you linked has test failures. ...
4 years, 9 months ago (2016-03-14 23:02:54 UTC) #14
erikchen
On 2016/03/14 22:56:33, tapted wrote: > On 2016/03/14 20:56:40, erikchen wrote: > > On 2016/03/14 ...
4 years, 9 months ago (2016-03-14 23:37:20 UTC) #15
erikchen
tapted: PTAL
4 years, 9 months ago (2016-03-15 00:22:47 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787553003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787553003/40001
4 years, 9 months ago (2016-03-15 00:23:06 UTC) #19
tapted
lgtm we could also use an @property, but I'm not overly enamoured about them -I'll ...
4 years, 9 months ago (2016-03-15 00:39:40 UTC) #20
erikchen
https://codereview.chromium.org/1787553003/diff/40001/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm File chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm (right): https://codereview.chromium.org/1787553003/diff/40001/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm#newcode40 chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm:40: [[NSAnimationContext currentContext] setDuration:kAnimationDuration]; On 2016/03/15 00:39:40, tapted wrote: > ...
4 years, 9 months ago (2016-03-15 00:52:25 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787553003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787553003/60001
4 years, 9 months ago (2016-03-15 00:52:38 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/80484)
4 years, 9 months ago (2016-03-15 01:27:19 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1787553003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1787553003/80001
4 years, 9 months ago (2016-03-15 01:44:04 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-15 02:57:03 UTC) #30
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 02:58:10 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/480c8640a6aaed2cde12711c2985d8c6a4221060
Cr-Commit-Position: refs/heads/master@{#381162}

Powered by Google App Engine
This is Rietveld 408576698