Don't allocate space for the unique glyphs.
Change-Id: I736fe762a23c22c4dc8d13b22cede4477f3e2847 Reviewed-on: https://skia-review.googlesource.com/c/166782 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Herb Derby <herb@google.com>
This commit is contained in:
parent
a0a6fe44fc
commit
9c3cf0d82e
@ -295,9 +295,7 @@ void SkGlyphRunBuilder::initialize(size_t totalRunSize) {
|
||||
|
||||
if (totalRunSize > fMaxTotalRunSize) {
|
||||
fMaxTotalRunSize = totalRunSize;
|
||||
fUniqueGlyphIDIndices.reset(fMaxTotalRunSize);
|
||||
fPositions.reset(fMaxTotalRunSize);
|
||||
fUniqueGlyphIDs.reset(fMaxTotalRunSize);
|
||||
}
|
||||
|
||||
fGlyphRunListStorage.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user