Add "magic values" to HTMLFrameOwnerElement and Frame to help diagnose crash
I've narrowed down the linked crash to a bad m_owner pointer in Frame. I've added two temporary magic values to help diagnose where this is coming from: In Frame I added a magic value beside the m_owner element to guard against heap corruption. In HTMLFrameOwnerElement I added a magic value that should help us catch when m_owner is not pointing to an HTMLFrameOwnerElement sooner. In both cases, we should also be able to see if either m_owner of Frame has already been destructed. Also turned the ASSERT in ~HTMLFrameOwnerElement into a RELEASE_ASSERT in case we're destroying it without disconnecting it from the Frame. BUG=519752 Review URL: https://codereview.chromium.org/1369003003 Cr-Commit-Position: refs/heads/master@{#351150}
Showing
Please register or sign in to comment