diff options
author | Leon Scroggins III <scroggo@google.com> | 2017-08-30 10:09:42 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-30 15:06:54 +0000 |
commit | e750391c349ff1fa1c179fbf2f5af27fb4405cef (patch) | |
tree | 10b5711b4fb8655676e8809109a1fb6dc7dc3b0e /dm/DMSrcSink.h | |
parent | 64dc4f6d4f73a890f0b2b29e68d7accd664fde87 (diff) |
GIF: Use SkTArray instead of std::vector
Speculative fix for a memory regression seen in Chromium. Chromium
previously used a WTF::Vector, which has a growth factor of 1.5, as does
SkTArray. Depending on the implementation of std::vector, this may slow
the allocation of memory.
Bug: 758946
Change-Id: I323390027467e32a6c66667c927fae0aba292446
Reviewed-on: https://skia-review.googlesource.com/40777
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'dm/DMSrcSink.h')
0 files changed, 0 insertions, 0 deletions