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

Issue 941543002: Mac: Speculative fix for tracking area crashes (Closed)

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

Description

Mac: Speculative fix for tracking area crashes The fix for issue 176725 is suspected to introduce this crash. Implement an alternative workaround that taps the mouse moved events from the application's event stream. BUG=315379 TEST=See http://crbug.com/176725 Committed: https://crrev.com/0fac57d7b3ebfcb25c15393ba49cc0d42eb1fc07 Cr-Commit-Position: refs/heads/master@{#318541}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use event tap #

Total comments: 6

Patch Set 3 : Fix for thakis #

Total comments: 2

Patch Set 4 : Use viewDidEndLiveResize #

Total comments: 2

Patch Set 5 : Fix for shess #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -24 lines) Patch
M ui/base/cocoa/base_view.mm View 1 2 3 4 2 chunks +45 lines, -21 lines 0 comments Download
M ui/base/cocoa/tracking_area.mm View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 34 (8 generated)
Andre
Hey Nico, PTAL and let me know if you think this is the way to ...
5 years, 10 months ago (2015-02-19 01:53:33 UTC) #2
Andre
Nico, ping?
5 years, 10 months ago (2015-02-21 04:56:33 UTC) #3
Andre
Nico, what do you think?
5 years, 10 months ago (2015-02-24 20:57:43 UTC) #4
Nico
https://codereview.chromium.org/941543002/diff/1/ui/base/cocoa/base_view.mm File ui/base/cocoa/base_view.mm (left): https://codereview.chromium.org/941543002/diff/1/ui/base/cocoa/base_view.mm#oldcode142 ui/base/cocoa/base_view.mm:142: [super updateTrackingAreas]; Could we set a flag in dealloc ...
5 years, 10 months ago (2015-02-24 21:00:19 UTC) #5
Andre
https://codereview.chromium.org/941543002/diff/1/ui/base/cocoa/base_view.mm File ui/base/cocoa/base_view.mm (left): https://codereview.chromium.org/941543002/diff/1/ui/base/cocoa/base_view.mm#oldcode142 ui/base/cocoa/base_view.mm:142: [super updateTrackingAreas]; On 2015/02/24 21:00:18, Nico wrote: > Could ...
5 years, 10 months ago (2015-02-24 21:20:46 UTC) #6
Andre
+shess since he's also looking into this.
5 years, 10 months ago (2015-02-25 23:02:24 UTC) #8
Scott Hess - ex-Googler
On 2015/02/24 21:20:46, Andre wrote: > https://codereview.chromium.org/941543002/diff/1/ui/base/cocoa/base_view.mm > File ui/base/cocoa/base_view.mm (left): > > https://codereview.chromium.org/941543002/diff/1/ui/base/cocoa/base_view.mm#oldcode142 > ...
5 years, 10 months ago (2015-02-25 23:30:54 UTC) #9
Andre
On 2015/02/25 23:30:54, Scott Hess wrote: > On 2015/02/24 21:20:46, Andre wrote: > > https://codereview.chromium.org/941543002/diff/1/ui/base/cocoa/base_view.mm ...
5 years, 10 months ago (2015-02-26 00:53:52 UTC) #10
Nico
On 2015/02/26 00:53:52, Andre wrote: > On 2015/02/25 23:30:54, Scott Hess wrote: > > On ...
5 years, 10 months ago (2015-02-26 04:11:37 UTC) #11
Scott Hess - ex-Googler
On 2015/02/26 04:11:37, Nico wrote: > Is the crasher frequent? (The bug said something like ...
5 years, 10 months ago (2015-02-26 21:20:29 UTC) #12
Andre
On 2015/02/26 04:11:37, Nico wrote: > On 2015/02/26 00:53:52, Andre wrote: > > On 2015/02/25 ...
5 years, 10 months ago (2015-02-26 21:58:23 UTC) #15
Andre
On 2015/02/26 21:20:29, Scott Hess wrote: > On 2015/02/26 04:11:37, Nico wrote: > > Is ...
5 years, 10 months ago (2015-02-26 22:09:24 UTC) #16
Nico
This seems ok to me. https://codereview.chromium.org/941543002/diff/60001/ui/base/cocoa/base_view.h File ui/base/cocoa/base_view.h (right): https://codereview.chromium.org/941543002/diff/60001/ui/base/cocoa/base_view.h#newcode38 ui/base/cocoa/base_view.h:38: - (instancetype)initWithFrame:(NSRect)frame useEventTap:(BOOL)useEventTap; Should ...
5 years, 10 months ago (2015-02-26 22:16:07 UTC) #17
Andre
https://codereview.chromium.org/941543002/diff/60001/ui/base/cocoa/base_view.h File ui/base/cocoa/base_view.h (right): https://codereview.chromium.org/941543002/diff/60001/ui/base/cocoa/base_view.h#newcode38 ui/base/cocoa/base_view.h:38: - (instancetype)initWithFrame:(NSRect)frame useEventTap:(BOOL)useEventTap; On 2015/02/26 22:16:07, Nico wrote: > ...
5 years, 10 months ago (2015-02-26 22:29:58 UTC) #18
Nico
https://codereview.chromium.org/941543002/diff/60001/ui/base/cocoa/base_view.h File ui/base/cocoa/base_view.h (right): https://codereview.chromium.org/941543002/diff/60001/ui/base/cocoa/base_view.h#newcode38 ui/base/cocoa/base_view.h:38: - (instancetype)initWithFrame:(NSRect)frame useEventTap:(BOOL)useEventTap; On 2015/02/26 22:29:58, Andre wrote: > ...
5 years, 10 months ago (2015-02-26 23:43:24 UTC) #19
Andre
https://codereview.chromium.org/941543002/diff/60001/ui/base/cocoa/base_view.h File ui/base/cocoa/base_view.h (right): https://codereview.chromium.org/941543002/diff/60001/ui/base/cocoa/base_view.h#newcode38 ui/base/cocoa/base_view.h:38: - (instancetype)initWithFrame:(NSRect)frame useEventTap:(BOOL)useEventTap; On 2015/02/26 23:43:24, Nico wrote: > ...
5 years, 10 months ago (2015-02-27 00:05:49 UTC) #20
Nico
lgtm
5 years, 10 months ago (2015-02-27 00:07:48 UTC) #21
Scott Hess - ex-Googler
I'm still nervous about perturbing the event-distribution machinery to work around the fact that the ...
5 years, 9 months ago (2015-02-27 17:56:11 UTC) #23
Andre
I have another idea, I think it's safer and simpler. PTAL at patchset 4 and ...
5 years, 9 months ago (2015-02-27 18:48:05 UTC) #24
Scott Hess - ex-Googler
On 2015/02/27 18:48:05, Andre wrote: > I have another idea, I think it's safer and ...
5 years, 9 months ago (2015-02-27 19:08:48 UTC) #25
Scott Hess - ex-Googler
LGTM, minor request below. I think that this is probably a better way than the ...
5 years, 9 months ago (2015-02-27 20:47:33 UTC) #26
Nico
lgtm
5 years, 9 months ago (2015-02-27 21:24:23 UTC) #27
Andre
https://codereview.chromium.org/941543002/diff/120001/ui/base/cocoa/base_view.mm File ui/base/cocoa/base_view.mm (right): https://codereview.chromium.org/941543002/diff/120001/ui/base/cocoa/base_view.mm#newcode62 ui/base/cocoa/base_view.mm:62: if ([self mouse:cornerPoint inRect:[self bounds]]) { On 2015/02/27 20:47:33, ...
5 years, 9 months ago (2015-02-27 21:40:11 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/941543002/160001
5 years, 9 months ago (2015-02-27 22:41:15 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:160001)
5 years, 9 months ago (2015-02-27 23:32:45 UTC) #33
commit-bot: I haz the power
5 years, 9 months ago (2015-02-27 23:33:10 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0fac57d7b3ebfcb25c15393ba49cc0d42eb1fc07
Cr-Commit-Position: refs/heads/master@{#318541}

Powered by Google App Engine
This is Rietveld 408576698