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

Issue 819793002: Reland: Fix crash when the source browser window is deleted during a drag (Closed)

Created:
6 years ago by pkotwicz
Modified:
6 years ago
CC:
chromium-reviews, tfarina, tdanderson+views_chromium.org, noyau+watch_chromium.org, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash when the source browser window is deleted during a drag This CL makes Widget::RunShellDrag() and DesktopDragDropClientWin not crash if the browser window is deleted during a drag-drop operation. An extension can delete the browser window during the drag-drop operation. BUG=440534 TEST=BookmarkBarViewTest22.* R=pkasting TBR=sky (The files in ui/views/widget are identical to the original CL) Committed: https://crrev.com/6b8237f513dc4cd044ff117fc12ee9178b4562e8 Cr-Commit-Position: refs/heads/master@{#309484}

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -7 lines) Patch
M chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc View 1 2 6 chunks +74 lines, -5 lines 0 comments Download
M chrome/test/base/view_event_test_base.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h View 2 chunks +3 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc View 3 chunks +10 lines, -2 lines 0 comments Download
M ui/views/widget/widget.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
pkotwicz
Avi, can you please take a look? (I am adding you as a reviewer because ...
6 years ago (2014-12-22 15:25:14 UTC) #2
Avi (use Gerrit)
This looks good, but I'm not an owner for chrome/browser so my LGTM won't help. ...
6 years ago (2014-12-22 15:27:45 UTC) #5
pkotwicz
pkasting@, can you please take a look? (I am adding you as a reviewer because ...
6 years ago (2014-12-22 15:31:38 UTC) #7
Peter Kasting
c/b/ui LGTM https://codereview.chromium.org/819793002/diff/20001/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc File chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc (right): https://codereview.chromium.org/819793002/diff/20001/chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc#newcode2009 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc:2009: ui_test_utils::MoveMouseToCenterAndPress(button, ui_controls::LEFT, Nit: All lines of args ...
6 years ago (2014-12-22 21:31:09 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/819793002/40001
6 years ago (2014-12-22 22:15:26 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/32047)
6 years ago (2014-12-22 22:23:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/819793002/40001
6 years ago (2014-12-22 23:03:57 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-22 23:28:22 UTC) #15
commit-bot: I haz the power
6 years ago (2014-12-22 23:29:11 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6b8237f513dc4cd044ff117fc12ee9178b4562e8
Cr-Commit-Position: refs/heads/master@{#309484}

Powered by Google App Engine
This is Rietveld 408576698