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

Issue 796253002: Fix use-after-free when browser is closed during a drop-drop on desktop Linux (Closed)

Created:
6 years ago by pkotwicz
Modified:
5 years, 11 months ago
Reviewers:
sadrul
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 use-after-free when browser is closed during a drop-drop on desktop Linux This CL is a follow-on to https://codereview.chromium.org/795303002/ which fixed this bug on Windows and ChromeOS BUG=438365 TEST=BookmarkBarViewTest22.CloseSourceBrowserDuringDrag R=sadrul TBR=sky (For enabling BookmarkBarViewTest22.* on Desktop Linux) Committed: https://crrev.com/d581087f4c8ff00a67f8a088692ab7442430608d Cr-Commit-Position: refs/heads/master@{#309830}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -12 lines) Patch
M chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
M ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc View 5 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
pkotwicz
Sadrul, PTAL
6 years ago (2014-12-20 19:27:40 UTC) #4
sadrul
https://codereview.chromium.org/796253002/diff/60001/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc File ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc (right): https://codereview.chromium.org/796253002/diff/60001/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc#newcode436 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc:436: move_loop_->EndMoveLoop(); Should |move_loop_| dtor make sure it EndMoveLoop()s when ...
6 years ago (2014-12-22 16:34:31 UTC) #5
pkotwicz
https://codereview.chromium.org/796253002/diff/60001/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc File ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc (right): https://codereview.chromium.org/796253002/diff/60001/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc#newcode436 ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc:436: move_loop_->EndMoveLoop(); |move_loop_| calls back to DDDClientAuraX11::OnMoveLoopEnded(). So yes, DDDClientAuraX11 ...
6 years ago (2014-12-22 18:26:36 UTC) #6
sadrul
OK. LGTM
6 years ago (2014-12-22 18:30:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/796253002/80001
5 years, 11 months ago (2015-01-01 19:53:32 UTC) #9
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/32923)
5 years, 11 months ago (2015-01-01 19:59:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/796253002/80001
5 years, 11 months ago (2015-01-01 21:51:13 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 11 months ago (2015-01-01 21:54:35 UTC) #14
commit-bot: I haz the power
5 years, 11 months ago (2015-01-01 21:55:17 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d581087f4c8ff00a67f8a088692ab7442430608d
Cr-Commit-Position: refs/heads/master@{#309830}

Powered by Google App Engine
This is Rietveld 408576698