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:
parent
4e4715b9b8
commit
d99e4f5b01
@ -7,13 +7,14 @@ namespace text {
|
|||||||
|
|
||||||
LogicalRun::LogicalRun(const SkShaper::RunHandler::RunInfo& info, TextIndex textStart, SkScalar glyphOffset)
|
LogicalRun::LogicalRun(const SkShaper::RunHandler::RunInfo& info, TextIndex textStart, SkScalar glyphOffset)
|
||||||
: fFont(info.fFont)
|
: fFont(info.fFont)
|
||||||
, fBidiLevel(info.fBidiLevel)
|
, fTextMetrics(info.fFont)
|
||||||
|
, fRunType(LogicalRunType::kText)
|
||||||
, fAdvance(info.fAdvance)
|
, fAdvance(info.fAdvance)
|
||||||
, fUtf8Range(info.utf8Range)
|
, fUtf8Range(info.utf8Range)
|
||||||
, fTextMetrics(info.fFont)
|
|
||||||
, fRunStart(textStart)
|
, fRunStart(textStart)
|
||||||
, fRunOffset(glyphOffset)
|
, fRunOffset(glyphOffset)
|
||||||
, fRunType(LogicalRunType::kText) {
|
, fBidiLevel(info.fBidiLevel)
|
||||||
|
{
|
||||||
fGlyphs.push_back_n(info.glyphCount);
|
fGlyphs.push_back_n(info.glyphCount);
|
||||||
fBounds.push_back_n(info.glyphCount);
|
fBounds.push_back_n(info.glyphCount);
|
||||||
fPositions.push_back_n(info.glyphCount + 1);
|
fPositions.push_back_n(info.glyphCount + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user