The destructor of WebPage calls RemoteResourceCacheProxy::clearRenderingResourceMap() via other calls. Because RemoteResourceCacheProxy stores the cached RenderingResources in a HashMap of WeakPtrs, we need to ensure the WeakPtr of the RenderingResource is not null before using it.
rdar://120464355
Pull request: https://github.com/WebKit/WebKit/pull/22639
Committed 272919@main (a71e93715498): <https://commits.webkit.org/272919@main> Reviewed commits have been landed. Closing PR #22639 and removing active labels.