<rdar://problem/18531395> REGRESSION (r173272): Crash in ResourceResponse::platformSu...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Oct 2014 00:37:47 +0000 (00:37 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Oct 2014 00:37:47 +0000 (00:37 +0000)
commite59f727357e5422ecc89a904177811d0a89cd953
tree4f703a848efea472d38f4d2ff791415d88e22947
parentf752de01220ef4e3b7442acb5373e237ad00e791
<rdar://problem/18531395> REGRESSION (r173272): Crash in ResourceResponse::platformSuggestedFilename() when called on the null response
https://bugs.webkit.org/show_bug.cgi?id=137239

Reviewed by Pratik Solanki.

* platform/network/cf/ResourceResponseCFNet.cpp:
(WebCore::ResourceResponse::platformSuggestedFilename): Return the null String if
m_cfResponse is null.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@174252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/network/cf/ResourceResponseCFNet.cpp