Summary: | [Soup] Use std::unique_ptr<char[]> for the read buffer in SocketStreamHandle | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Zan Dobersek <zan> | ||||
Component: | New Bugs | Assignee: | Zan Dobersek <zan> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cgarcia | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Zan Dobersek
2014-05-04 23:49:28 PDT
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> |