C++11 lambdas can be used instead.
Created attachment 239565 [details]
Comment on attachment 239565 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=239565&action=review
> + Replace uses of CrossThreadTask with C++11 lambdas. The initializations
> + of cross-thread copies are rather verbose at the moment, but should look
> + better once we can switch to using C++14 init capture for lambdas.
Anders is also working on a project that might lead to cross-thread-safe reference counting for String. If he succeeds, that will also make many of them considerably better.
> + virtual void didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent) override;
Looks like this is indented four spaces too far.
Committed r174583: <http://trac.webkit.org/changeset/174583>