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

Issue 199663004: Mac: Fix crash when dragging tabs (Closed)

Created:
6 years, 9 months ago by Andre
Modified:
6 years, 9 months ago
Reviewers:
Robert Sesek
CC:
chromium-reviews, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Mac: Fix crash when dragging tabs When dragging the only tab of a window, and there are other windows that are potential targets, it was possible in some cases for the window to deallocate while we still hold a weak reference to it. BUG=355471 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259773

Patch Set 1 : #

Patch Set 2 : A better fix #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -14 lines) Patch
M chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm View 1 6 chunks +24 lines, -14 lines 1 comment Download

Messages

Total messages: 14 (0 generated)
Andre
6 years, 9 months ago (2014-03-25 17:26:47 UTC) #1
Robert Sesek
I'm trying to understand why this change caused this crash, especially given the crash stack. ...
6 years, 9 months ago (2014-03-25 18:22:31 UTC) #2
Andre
On 2014/03/25 18:22:31, rsesek wrote: > I'm trying to understand why this change caused this ...
6 years, 9 months ago (2014-03-25 18:30:32 UTC) #3
Robert Sesek
On 2014/03/25 18:30:32, Andre wrote: > On 2014/03/25 18:22:31, rsesek wrote: > > I'm trying ...
6 years, 9 months ago (2014-03-25 21:09:12 UTC) #4
Andre
On 2014/03/25 21:09:12, rsesek wrote: > On 2014/03/25 18:30:32, Andre wrote: > > On 2014/03/25 ...
6 years, 9 months ago (2014-03-26 01:23:02 UTC) #5
Andre
https://codereview.chromium.org/199663004/diff/80001/chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm File chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm (left): https://codereview.chromium.org/199663004/diff/80001/chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm#oldcode191 chrome/browser/ui/cocoa/tabs/tab_strip_drag_controller.mm:191: // moving more than 3 pixels. I think this ...
6 years, 9 months ago (2014-03-26 01:29:30 UTC) #6
Robert Sesek
LGTM thanks for investigating.
6 years, 9 months ago (2014-03-26 16:17:18 UTC) #7
Andre
The CQ bit was checked by andresantoso@chromium.org
6 years, 9 months ago (2014-03-26 16:22:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andresantoso@chromium.org/199663004/80001
6 years, 9 months ago (2014-03-26 16:22:44 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 01:35:53 UTC) #10
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 9 months ago (2014-03-27 01:35:54 UTC) #11
Andre
The CQ bit was checked by andresantoso@chromium.org
6 years, 9 months ago (2014-03-27 03:03:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andresantoso@chromium.org/199663004/80001
6 years, 9 months ago (2014-03-27 03:06:24 UTC) #13
commit-bot: I haz the power
6 years, 9 months ago (2014-03-27 03:09:53 UTC) #14
Message was sent while issue was closed.
Change committed as 259773

Powered by Google App Engine
This is Rietveld 408576698