[Webkit-unassigned] [Bug 129322] [iOS] Download support by CFURLDownloadRef under USE(CFNETWORK).
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 21 17:50:50 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=129322
--- Comment #11 from Andy Estes <aestes at apple.com> 2014-03-21 17:51:11 PST ---
(In reply to comment #4)
> (From update of attachment 225185 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=225185&action=review
>
> > Source/WebKit2/Shared/Downloads/ios/DownloadIOS.mm:110
> > + __block BOOL returnValue;
> > + dispatchOnMainThread(^{
> > + Download *download = (Download *)clientInfo;
> > + returnValue = download->shouldDecodeSourceDataOfMIMEType(encodingType);
> > + });
> > +
> > + return returnValue;;
>
> It seems a little strange to use a block here instead of a lambda.
Since we're ultimately invoking a block in dispatch_sync(), I think it makes sense to use a block instead of always converting from a lambda.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list