REGRESSION (r137607): Cannot download files, stuck in "Preparing to download"
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2012 20:49:09 +0000 (20:49 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2012 20:49:09 +0000 (20:49 +0000)
commitdab6a9bd55fb8aa1118b1f0e6751dbce03529ac0
tree844ed8f8628816612025822879155ec16e6c58a7
parent574a70dc92439fbbc1efd5787c04c4ab1eb702de
REGRESSION (r137607): Cannot download files, stuck in "Preparing to download"
https://bugs.webkit.org/show_bug.cgi?id=105044
<rdar://problem/12879657>

Reviewed by Alexey Proskuryakov.

Make ResourceHandle::cancel return early if the handle has been converted to a download.

* platform/network/mac/ResourceHandleMac.mm:
(WebCore::ResourceHandle::cancel):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@137763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/network/mac/ResourceHandleMac.mm