[Soup] Use std::unique_ptr<char[]> for the read buffer in SocketStreamHandle
Created attachment 230809 [details] Patch
Comment on attachment 230809 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=230809&action=review > Source/WebCore/platform/network/soup/SocketStreamHandleSoup.cpp:87 > - , m_readBuffer(0) > + , m_readBuffer(nullptr) Do we really need to initialize a std:unique_ptr? doesn't it set the internal pointer to 0 in its constructor? > Source/WebCore/platform/network/soup/SocketStreamHandleSoup.cpp:102 > - , m_readBuffer(0) > + , m_readBuffer(nullptr) Ditto.
Comment on attachment 230809 [details] Patch Forgot to change the flag :-P
Committed r168351: <http://trac.webkit.org/changeset/168351>