Reviewed by Mitz.
- fix crash visible on buildbot and also when running the test
anchor-image-scrolled-x-y.html under libgmalloc
* loader/mac/WebSubresourceLoader.h: Renamed m_loader to m_handle
now that the class is named ResourceHandle.
* loader/mac/WebSubresourceLoader.mm: Renaming, plus:
(WebCore::SubresourceLoader::didFinishLoading): Get the handle into
a local RefPtr before calling finishJobAndHandle, since we might get
cancelled inside that function, so we should not rely on m_handle to
keep the ResourceHandle alive.
(WebCore::SubresourceLoader::didFail): Ditto.
(WebCore::SubresourceLoader::didCancel): Ditto.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17414
268f45cc-cd09-0410-ab3c-
d52691b4dbfc