Make ReadableStreamSerialize operation take a |port| parameter
It turns out to better to create the MessagePort early in C++ and then pass it to ReadableStreamSerialize. Make ReadableStreamSerialize take a second argument instead of creating its own MessageChannel. This also enables us to remove MessageChannel from the binding object. Also add wrapper methods on ReadableStream to abstract out the V8 Extras implementation. No user-visible changes. BUG=894838 Change-Id: I2616855d34a925915919245ec10338463ac5ef37 Reviewed-on: https://chromium-review.googlesource.com/c/1329813Reviewed-by:Yutaka Hirano <yhirano@chromium.org> Reviewed-by:
Yuki Shiino <yukishiino@chromium.org> Commit-Queue: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/master@{#607498}
Showing
Please register or sign in to comment