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

Issue 2362173002: Clear Document::m_frame after dispatching ContextLifecycleObesrver::contextDestroyed (Closed)

Created:
4 years, 3 months ago by haraken
Modified:
4 years, 3 months ago
Reviewers:
ortuno, dcheng
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, ortuno+watch_chromium.org, rwlbuis, scheib+watch_chromium.org, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clear Document::m_frame after dispatching ContextLifecycleObesrver::contextDestroyed Bluetooth needs to use document->frame() in ContextLifecycleObesrver::contextDestroyed(). Hence this CL moves m_frame=nullptr to after dispatching contextDestroyed(). See https://groups.google.com/a/chromium.org/d/topic/blink-dev/sfpRQc4LB_I/discussion for more motivation of this CL. BUG=610176 Committed: https://crrev.com/de6c401c0fdd58381a9bc6a09cf801456ab33fd6 Cr-Commit-Position: refs/heads/master@{#420588}

Patch Set 1 #

Patch Set 2 : temp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -18 lines) Patch
M third_party/WebKit/Source/core/dom/Document.cpp View 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.h View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp View 1 5 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
haraken
PTAL
4 years, 3 months ago (2016-09-23 06:44:46 UTC) #2
dcheng
The main thing I'm wondering here... why does the bluetooth code supplement frame if it ...
4 years, 3 months ago (2016-09-23 06:46:51 UTC) #3
haraken
On 2016/09/23 06:46:51, dcheng wrote: > The main thing I'm wondering here... why does the ...
4 years, 3 months ago (2016-09-23 06:50:27 UTC) #4
dcheng
On 2016/09/23 06:50:27, haraken wrote: > On 2016/09/23 06:46:51, dcheng wrote: > > The main ...
4 years, 3 months ago (2016-09-23 07:17:55 UTC) #5
haraken
On 2016/09/23 07:17:55, dcheng wrote: > On 2016/09/23 06:50:27, haraken wrote: > > On 2016/09/23 ...
4 years, 3 months ago (2016-09-23 07:24:11 UTC) #6
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/2362173002/1
4 years, 3 months ago (2016-09-23 07:24:26 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/133803) chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 3 months ago (2016-09-23 07:33:44 UTC) #10
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/2362173002/20001
4 years, 3 months ago (2016-09-23 07:40:25 UTC) #13
ortuno
Sorry for the trouble here. There is clearly some code debt that we've been pushing ...
4 years, 3 months ago (2016-09-23 09:19:33 UTC) #14
ortuno
btw BluetoothRemoteGattCharacteristic follows a similar pattern so we might have to fix that one as ...
4 years, 3 months ago (2016-09-23 09:20:42 UTC) #15
haraken
On 2016/09/23 09:20:42, ortuno wrote: > btw BluetoothRemoteGattCharacteristic follows a similar pattern so we might ...
4 years, 3 months ago (2016-09-23 10:05:03 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-23 11:26:03 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 11:29:54 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/de6c401c0fdd58381a9bc6a09cf801456ab33fd6
Cr-Commit-Position: refs/heads/master@{#420588}

Powered by Google App Engine
This is Rietveld 408576698