diff options
author | Leon Scroggins III <scroggo@google.com> | 2017-06-01 14:06:35 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-02 13:14:57 +0000 |
commit | ec4400bfe34bbb90eaceaae168b2c6edf9aca4d9 (patch) | |
tree | 76121ee3f2c3beedb9927b8cb2dd4187cdb9d1e9 /src/sksl/SkSLGLSLCodeGenerator.cpp | |
parent | 48c9919335c7da6188c08a78552186760bd434ea (diff) |
Avoid new for small arrays in SkBmpCodec
Use a buffer on the stack to avoid the cost of new/delete.
Change-Id: I5c9208ec283e8345c34553343925097926274978
Reviewed-on: https://skia-review.googlesource.com/18402
Reviewed-by: Matt Sarett <msarett@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'src/sksl/SkSLGLSLCodeGenerator.cpp')
0 files changed, 0 insertions, 0 deletions