-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120718 Reviewed by Andreas Kling. Source/WebCore: Change FormStreamFields::currentData to an OwnPtr. * platform/network/cf/FormDataStreamCFNet.cpp: (WebCore::closeCurrentStream): (WebCore::advanceCurrentStream): (WebCore::formCreate): Source/WTF: Change Vector::releaseBuffer() to return an OwnPtr. I intentionally chose to use an OwnPtr over a PassOwnPtr since we're trying to move away from PassOwnPtr objects. Fix fallout from this change by adopting OwnPtr/PassOwnPtr in StringBuffer and the two StringImpl constructors that adopt the passed in pointer. * wtf/Vector.h: * wtf/text/StringBuffer.h: * wtf/text/StringImpl.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7f541107