Delete display link when closing page or the WebContent process has crashed.
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jul 2018 14:35:16 +0000 (14:35 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 Jul 2018 14:35:16 +0000 (14:35 +0000)
commit50c1ccdf2ce986b21895746d1b0692bb50fb60ab
treeef61598ea1897a8c661f4eb744522ac3f48f60c1
parentd30edb3f400bd5e99a341aca57f0a011c9133f47
Delete display link when closing page or the WebContent process has crashed.
https://bugs.webkit.org/show_bug.cgi?id=186895

Reviewed by Brent Fulgham.

If there is a running display link in the UI process, there is no need to keep it around if the
page is being closed or the WebContent process has crashed.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::close):
(WebKit::WebPageProxy::resetStateAfterProcessExited):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/WebPageProxy.cpp