Make SocketStreamHandle virtual functions asynchronous
Created attachment 304799 [details] Patch
Created attachment 304807 [details] Patch
Comment on attachment 304807 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=304807&action=review > Source/WebCore/platform/network/SocketStreamHandle.h:55 > + virtual void platformSend(const char* data, size_t length, Function<void(bool)>) = 0; Why not make the Function an rvalue reference?
(In reply to comment #3) > Comment on attachment 304807 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=304807&action=review > > > Source/WebCore/platform/network/SocketStreamHandle.h:55 > > + virtual void platformSend(const char* data, size_t length, Function<void(bool)>) = 0; > > Why not make the Function an rvalue reference? In fact, for general use you'd *have too*, because Functions are non copyable.
I don't have to, but I did. http://trac.webkit.org/r214114