Fixing Android build bug

Change-Id: I9c38e47a009a480a9f4883076d118b4a892a431b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/449808
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Julia Lavrova <jlavrova@google.com>
This commit is contained in:
Julia Lavrova 2021-09-17 10:12:40 -04:00 committed by SkCQ
parent 4e4715b9b8
commit d99e4f5b01

View File

@ -7,13 +7,14 @@ namespace text {
LogicalRun::LogicalRun(const SkShaper::RunHandler::RunInfo& info, TextIndex textStart, SkScalar glyphOffset)
: fFont(info.fFont)
, fBidiLevel(info.fBidiLevel)
, fTextMetrics(info.fFont)
, fRunType(LogicalRunType::kText)
, fAdvance(info.fAdvance)
, fUtf8Range(info.utf8Range)
, fTextMetrics(info.fFont)
, fRunStart(textStart)
, fRunOffset(glyphOffset)
, fRunType(LogicalRunType::kText) {
, fBidiLevel(info.fBidiLevel)
{
fGlyphs.push_back_n(info.glyphCount);
fBounds.push_back_n(info.glyphCount);
fPositions.push_back_n(info.glyphCount + 1);