Change CloneFastJSArray to use ExtractFixedArray.
This makes CloneFastJSArray allocate exact memory needed for the elements to be copy, instead of over-allocating. Bug: chromium:875723 Change-Id: Id8e14cff3caf42eb0fb4090ec755f1cadcf518e6 Reviewed-on: https://chromium-review.googlesource.com/1180893 Commit-Queue: Hai Dang <dhai@google.com> Reviewed-by: Georg Neis <neis@chromium.org> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#55246}
Showing
Please
register
or
sign in
to comment