diff options
author | 2015-11-19 07:23:49 -0800 | |
---|---|---|
committer | 2015-11-19 07:23:49 -0800 | |
commit | c3c6194ba2b90fde57d8d0bc1d6302656f0dae27 (patch) | |
tree | 52446ca72e146435b47a63afd39f4d15f0d0c474 /src/core/SkFontStream.h | |
parent | a2e3e0f7f8ceed2ab152428d7ee2812ad8c842c3 (diff) |
Add SkRecord::defrag().
Called by SkRecordOptimize(), this moves all the NoOps to the end and
slices them off.
This implementation with std::remove_if() is linear and doesn't malloc.
No diffs: https://gold.skia.org/search2?issue=1461663003&unt=true&query=source_type%3Dgm&master=false
BUG=skia:
Review URL: https://codereview.chromium.org/1461663003
Diffstat (limited to 'src/core/SkFontStream.h')
0 files changed, 0 insertions, 0 deletions