Remove NOTREACHED() from EncodedFormData::SizeInBytes.
The comment incorrectly asserted that the method was only called by PingLoader. In fact the method is called for every request by devtools. So instead just ignore data pipes in the size calculation for now, just like blobs without blob data handle are ignored. If we do want actual size information for these elements at some point we'd probably just want to add an explicit size field along with the DataPipeGetter, just like network::DataElement already does for almost every other type of element. Bug: 821878 Change-Id: I6a64aaeffbcf0e22bf90bcf44c38367bf682cf3e Reviewed-on: https://chromium-review.googlesource.com/964612Reviewed-by:Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#543784}
Showing
Please register or sign in to comment