| Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
|
| index 8bbb8f00be8be24e876332366e8d6c303cc9fe36..44f614cc13bda2283187dee5d4716a4aa5604714 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResult.cpp
|
| @@ -380,11 +380,12 @@ PassRefPtr<ShapeResult> ShapeResult::createForTabulationCharacters(
|
| float positionOffset,
|
| unsigned count) {
|
| const SimpleFontData* fontData = font->primaryFont();
|
| - std::unique_ptr<ShapeResult::RunInfo> run = wrapUnique(new ShapeResult::RunInfo(
|
| - fontData,
|
| - // Tab characters are always LTR or RTL, not TTB, even when isVerticalAnyUpright().
|
| - textRun.rtl() ? HB_DIRECTION_RTL : HB_DIRECTION_LTR, HB_SCRIPT_COMMON, 0,
|
| - count, count));
|
| + // Tab characters are always LTR or RTL, not TTB, even when
|
| + // isVerticalAnyUpright().
|
| + std::unique_ptr<ShapeResult::RunInfo> run =
|
| + wrapUnique(new ShapeResult::RunInfo(
|
| + fontData, textRun.rtl() ? HB_DIRECTION_RTL : HB_DIRECTION_LTR,
|
| + HB_SCRIPT_COMMON, 0, count, count));
|
| float position = textRun.xPos() + positionOffset;
|
| float startPosition = position;
|
| for (unsigned i = 0; i < count; i++) {
|
|
|