Summary: | Get rid of IncomingMessage | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | sam | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Anders Carlsson
2013-01-31 12:30:56 PST
Created attachment 185838 [details]
Patch
Comment on attachment 185838 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=185838&action=review > Source/WebKit2/Platform/CoreIPC/Connection.cpp:92 > + // FIXME: This should really an be OwnPtr, > + // but we need Vector to work with move semantics first. The bug here is https://bugs.webkit.org/show_bug.cgi?id=87594. But, is this really true. Can't you use VectorTraits? Vector already knows how to work with OwnPtr for instance. (In reply to comment #2) > (From update of attachment 185838 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=185838&action=review > > > Source/WebKit2/Platform/CoreIPC/Connection.cpp:92 > > + // FIXME: This should really an be OwnPtr, > > + // but we need Vector to work with move semantics first. > > The bug here is https://bugs.webkit.org/show_bug.cgi?id=87594. But, is this really true. Can't you use VectorTraits? Vector already knows how to work with OwnPtr for instance. I can't use VectorTraits because that there's still copying involved when passing the struct to Vector::append. (In reply to comment #3) > (In reply to comment #2) > > (From update of attachment 185838 [details] [details]) > > View in context: https://bugs.webkit.org/attachment.cgi?id=185838&action=review > > > > > Source/WebKit2/Platform/CoreIPC/Connection.cpp:92 > > > + // FIXME: This should really an be OwnPtr, > > > + // but we need Vector to work with move semantics first. > > > > The bug here is https://bugs.webkit.org/show_bug.cgi?id=87594. But, is this really true. Can't you use VectorTraits? Vector already knows how to work with OwnPtr for instance. > > I can't use VectorTraits because that there's still copying involved when passing the struct to Vector::append. I see. Committed r141465: <http://trac.webkit.org/changeset/141465> |