- 
file:///*.svgzChris Mumford authored
A speculative fix for a 7%-19.2% regression of memory use. This change releases the ZLib buffers used for Gzip inflation - releasing the memory as soon as it is no longer needed instead of waiting for the URLResponseBodyConsumer instance to be deleted. This change also fixes an incorrect reset of |zlib_wrapper_|, which was calling release() instead of reset(), when zlib would fail to initialize. This was likely a latent bug and not the cause of the regression. Bug: 901891 Change-Id: I52687f5614b7a76c52f4b9d5317deb33a299e4cb Reviewed-on: https://chromium-review.googlesource.com/c/1317922Reviewed-by:
Yutaka Hirano <yhirano@chromium.org> Commit-Queue: Chris Mumford <cmumford@chromium.org> Cr-Commit-Position: refs/heads/master@{#607124}
c1582e69