2006-11-14 Darin Adler <darin@apple.com>
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Nov 2006 18:06:07 +0000 (18:06 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Nov 2006 18:06:07 +0000 (18:06 +0000)
commitc3be3f413388c44a4d81e978dd54398e84684b00
tree25140002222625b7aa4745cc53fe0bd3f719bfcb
parentdd67f00b01ecb2942a2c1ab32614132839b5598e
2006-11-14  Darin Adler  <darin@apple.com>

        Reviewed by Adam.

        Fix up usages of FormData within CFNet loader code.

        * platform/network/ResourceRequest.h:
        (WebCore::ResourceRequest::httpBody):
        * platform/network/cf/FormDataStreamCFNet.cpp:
        (WebCore::getStreamFormDatas): Store RefPtr<FormData>s in the
        streamFormDatas HashMap.
        (WebCore::formCreate):
        (WebCore::formFinalize): Removed delete because the remove() will deref
        and delete if necessary.
        (WebCore::setHTTPBody): Changed parameter to PassRefPtr.
        (WebCore::httpBodyFromStream):
        * platform/network/cf/FormDataStreamCFNet.h: Fix declarations.
        * platform/network/cf/ResourceRequestCFNet.cpp:
        (WebCore::getResourceRequest):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/network/ResourceRequest.h
WebCore/platform/network/cf/FormDataStreamCFNet.cpp
WebCore/platform/network/cf/FormDataStreamCFNet.h
WebCore/platform/network/cf/ResourceRequestCFNet.cpp