With USE(NETWORK_CFDATA_ARRAY_CALLBACK), the code doesn't compile. We need ResourceBuffer::append(CFDataRef) and a few minor changes.
Created attachment 175027 [details] Patch
Looks good to me. Brady should take a look, since he's been actively working in this area of code recently.
Comment on attachment 175027 [details] Patch Looks good to me. R=me.
Nothing wrong with this patch as a build fix. But fair warning - CFDATA_ARRAY_CALLBACK is somewhat incompatible with the IPC architecture of NetworkProcess mode, so we might have to revisit this type of thing in the future.
Committed r135755: <http://trac.webkit.org/changeset/135755>