| commit | 150407e8d3610ff25a45c7c46877333c4425f062 | [log] [tgz] |
|---|---|---|
| author | Will Harris <wfh@chromium.org> | Thu Feb 28 19:39:57 2019 |
| committer | Will Harris <wfh@chromium.org> | Thu Feb 28 19:39:57 2019 |
| tree | 8dfef242db72c067fb2e7dbccc2312fa210a8822 | |
| parent | 1675c51b1d83160a8b7061f38bb722b2c43937b4 [diff] |
Merge M72: FileReader: Make a copy of the ArrayBuffer when returning partial results. This is to avoid accidentally ending up with multiple references to the same underlying ArrayBuffer. The extra performance overhead of this is minimal as usage of partial results is very rare anyway (as can be seen on https://www.chromestatus.com/metrics/feature/timeline/popularity/2158). (cherry picked from commit ba9748e78ec7e9c0d594e7edf7b2c07ea2a90449) Bug: 936448 Change-Id: Icd1081adc1c889829fe7fa4af9cf4440097e8854 Reviewed-on: https://chromium-review.googlesource.com/c/1492873 Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Reviewed-by: Adam Klein <adamk@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#636251} Reviewed-on: https://chromium-review.googlesource.com/c/1495209 Reviewed-by: Will Harris <wfh@chromium.org> Cr-Commit-Position: refs/branch-heads/3626@{#881} Cr-Branched-From: d897fb137fbaaa9355c0c93124cc048824eb1e65-refs/heads/master@{#612437}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .