Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r220931 - REGRESSION (r220601): Crash when closing google doc a…
…fter switching the order of tabs in safari https://bugs.webkit.org/show_bug.cgi?id=175721 <rdar://problem/33928369> Reviewed by Geoffrey Garen. Make sure WebProcess::markAllLayersVolatile() does not call WTFMove() multiple times on the same completion handler. Use a RefCounter to hold on to the completion handler and make sure the handler gets called when the RefCounter's value becomes 0. * WebProcess/WebProcess.cpp: (WebKit::WebProcess::cancelPrepareToSuspend): (WebKit::WebProcess::markAllLayersVolatile): (WebKit::WebProcess::cancelMarkAllLayersVolatile): * WebProcess/WebProcess.h:
- Loading branch information
1 parent
43a3335
commit f7891c2
Showing
3 changed files
with
36 additions
and
15 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
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