Allow ServiceWorkerResourceReader::ReadData() to return empty handle
Before this CL there was a mojo message validation error as a response of ReadData() is defined as non-nullable data pipe handle but ServiceWorkerResourceReaderImpl could return an empty handle when creating a data pipe fails. Allow a null handle since there isn't nothing for ServiceWorkerResourceReaderImpl to do anything other than returning an empty data pipe handle when creating a data pipe fails. Bug: 1156082 Change-Id: I1761db595bcc30665d0dcdf5c417f8f6dbcc173b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2631817Reviewed-by:Makoto Shimazu <shimazu@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Kinuko Yasuda <kinuko@chromium.org> Auto-Submit: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/master@{#844440}
Showing
Please register or sign in to comment