Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix TestWebKitAPI crash introduced in r202532.
WebPageProxy::forceRepaint() could trigger a call to the didForceRepaintCallback() after the WebPageProxy had been invalidated, causing a null de-ref of m_drawingArea. Fix by checking for error and isValid(). * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::forceRepaint): Canonical link: https://commits.webkit.org/177291@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@202540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
21 additions
and 0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters