[Webkit-unassigned] [Bug 144096] [UNIX] Do not allow copies of IPC::Attachment

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 23 08:12:22 PDT 2015


--- Comment #3 from Darin Adler <darin at apple.com> ---
Comment on attachment 251427
  --> https://bugs.webkit.org/attachment.cgi?id=251427

View in context: https://bugs.webkit.org/attachment.cgi?id=251427&action=review

>> Source/WebKit2/Platform/IPC/Attachment.cpp:59
>> +#endif
> Should instead be:
>     encoding.addAttachment(WTF::move(*this));

Might require const_cast. It’s a design problem, I think, that encoding modifies the attachment, but the encode function is marked const.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150423/d2831483/attachment.html>

More information about the webkit-unassigned mailing list