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 Review-Url: https://codereview.chromium.org/2362173002 Cr-Commit-Position: refs/heads/master@{#420588}
Showing
Please register or sign in to comment