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

Issue 2488203003: [Extensions] Don't remove the bookmark drag event router as delegate (Closed)

Created:
4 years, 1 month ago by Devlin
Modified:
4 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions] Don't remove the bookmark drag event router as delegate Previously, the BookmarkManagerPrivateDragEventRouter removed itself as the BookmarkTabHelper's delegate on destruction. Since crrev.com/a32a0900c104b2143e6462febc81e6900dbd2104, both the event router and the BookmarkTabHelper are WebContentsUserData, and thus will be destroyed at the "same" time (that is, synchronously - if the BookmarkTabHelper tried to access the BookmarkManagerPrivateDragEventRouter in its dtor, it's unsafe, but hopefully we never do that). Don't remove the BookmarkManagerPrivateDragEventRouter as a delegate since there's a chance the BookmarkTabHelper has already been destroyed. BUG=664371 BUG=664419 Committed: https://crrev.com/62fa72cbd02ff4e279efe12145dd4b1a3d221821 Cr-Commit-Position: refs/heads/master@{#431607}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
Devlin
Antony, mind taking a look?
4 years, 1 month ago (2016-11-11 03:09:25 UTC) #6
asargent_no_longer_on_chrome
lgtm
4 years, 1 month ago (2016-11-11 17:39:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2488203003/1
4 years, 1 month ago (2016-11-11 18:59:00 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-11 19:04:12 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 19:30:26 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/62fa72cbd02ff4e279efe12145dd4b1a3d221821
Cr-Commit-Position: refs/heads/master@{#431607}

Powered by Google App Engine
This is Rietveld 408576698