Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r221228 - Remove PolicyChecker::cancelCheck
https://bugs.webkit.org/show_bug.cgi?id=176002 Patch by Alex Christensen <achristensen@webkit.org> on 2017-08-26 Reviewed by Darin Adler. cancelCheck is conceptually equivalent to not calling a completion handler. stopCheck is conceptually equivalent to calling a completion handler with PolicyIgnore just before cleaning up everything, which is semantically cleaner and necessary when I replace the last use of PolicyCallback with a CompletionHandler. Before this change, we were probably causing some loading objects to hang right before deleting them, and this cleans them up better. * loader/DocumentLoader.cpp: (WebCore::DocumentLoader::cancelPolicyCheckIfNeeded): * loader/PolicyChecker.cpp: (WebCore::PolicyChecker::cancelCheck): Deleted. * loader/PolicyChecker.h:
- Loading branch information
1 parent
71bb8c3
commit 8d7b252
Showing
4 changed files
with
19 additions
and
9 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
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