Crash in Connection::isValid when called in response to
authorjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Oct 2010 21:47:22 +0000 (21:47 +0000)
committerjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Oct 2010 21:47:22 +0000 (21:47 +0000)
commitc0359bcf1b5dac5779f69b828f08cfdf4091d1cd
tree676db4423809cd7355797397552179ef306628f0
parentc4fb2a6c023f873bf853ad3c99fea0b68bcff66c
Crash in Connection::isValid when called in response to
VisitedLinksProvider::pendingVisitedLinksTimerFired after WebProcessProxy::didClose was
already called.
https://bugs.webkit.org/show_bug.cgi?id=48153

Reviewed by Anders Carlsson.

* UIProcess/VisitedLinkProvider.cpp:
(WebKit::VisitedLinkProvider::stopVisitedLinksTimer):
* UIProcess/VisitedLinkProvider.h:

* UIProcess/WebContext.cpp:
(WebKit::WebContext::processDidClose):
Stop the pendingVisitedLinksTimer and null out the process.
* UIProcess/WebContext.h:

* UIProcess/WebProcessProxy.cpp:
(WebKit::WebProcessProxy::didClose):
Tell the WebContext that the WebProcess did close.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@70346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit2/ChangeLog
WebKit2/UIProcess/VisitedLinkProvider.cpp
WebKit2/UIProcess/VisitedLinkProvider.h
WebKit2/UIProcess/WebContext.cpp
WebKit2/UIProcess/WebContext.h
WebKit2/UIProcess/WebProcessProxy.cpp