Correct crash when processing local cancelled requests.
authorbfulgham@webkit.org <bfulgham@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Aug 2009 19:47:18 +0000 (19:47 +0000)
committerbfulgham@webkit.org <bfulgham@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 17 Aug 2009 19:47:18 +0000 (19:47 +0000)
commit25ec0c273129d5d1d8a1c9a3b7e5b368d9aec203
tree610ff95aafc9851f9c5f02cf39507e89ce134360
parent22f030194570a0801dab6c80505cc3f66b887561
Correct crash when processing local cancelled requests.

Reviewed by Kevin Ollivier.

No new tests. Existing fast/images/favicon-as-image.html
displays the problem.

* platform/network/curl/ResourceHandleManager.cpp:
(WebCore::writeCallback): Add check for m_cancelled after
  performing local-file processing.
(WebCore::ResourceHandleManager::downloadTimerCallback): Add
  check for m_cancelled after performing local-file processing.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@47379 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/network/curl/ResourceHandleManager.cpp