Web Inspector: Crash closing a related tab with Web Inspector open while page is...
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 May 2015 03:55:15 +0000 (03:55 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 May 2015 03:55:15 +0000 (03:55 +0000)
commit65286ebdb517ddfc04071a9a07342594e2d4cc7e
tree7cc0bf2fbbea653393d577c059c79894a13e7b01
parente91ca4e9181a57a9e4fa7503a0104deb622c32a6
Web Inspector: Crash closing a related tab with Web Inspector open while page is refreshing
https://bugs.webkit.org/show_bug.cgi?id=145488

Reviewed by Alexey Proskuryakov.

* WebProcess/WebPage/WebInspector.h:
* WebProcess/WebPage/WebInspector.cpp:
(WebKit::WebInspector::~WebInspector):
Ensure, no matter how we close, that we have invalidated the
frontend connection of which we are the client.

(WebKit::WebInspector::createInspectorPage):
This member variable will never be null.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@185030 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/WebPage/WebInspector.cpp
Source/WebKit2/WebProcess/WebPage/WebInspector.h