Use SkTArray instead of SkSTArray in movable.

SkTArray is trivially movable, but SkSTArray is not, since it may
contain an internal pointer. FontFileInfo is supposed to be
trivially movable but currently isn't due to containing an SkSTArray.
Removing this particular optimization should not affect performance
much as this type is only used for parsing and does not allocate any
memory unless a variation axis is actually specified.

Review URL: https://codereview.chromium.org/1155383002
This commit is contained in:
bungeman 2015-05-27 13:10:02 -07:00 committed by Commit bot
parent 9700206b67
commit a9f1db7902

View File

@ -76,7 +76,7 @@ struct FontFileInfo {
SkFourByteTag fTag;
SkFixed fValue;
};
SkSTArray<4, Axis, true> fAxes;
SkTArray<Axis, true> fAxes;
};
/**