Refactor OpenType::ValidateTable() to avoid SharedBuffer data flattening
There's no need to go through an intermediate SharedBuffer, because we start with a flat Vector<char> in FontPlatformData::OpenTypeTable(). Refactor the validation code to use Vector<char> instead of SharedBuffer. BUG=728627 Change-Id: I81892c0c5c42b4f2e2abdeeabaca20979cd60eeb Reviewed-on: https://chromium-review.googlesource.com/544317Reviewed-by:Ben Wagner <bungeman@google.com> Reviewed-by:
Hajime Hoshi <hajimehoshi@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org> Cr-Commit-Position: refs/heads/master@{#481867}
Showing
Please register or sign in to comment