| Index: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBloberizer.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBloberizer.cpp b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBloberizer.cpp
|
| index a96adcb29fb268630002a53c65b3932197070266..382a102190c18cdf4e9fcd9a39afe3cd10b4201e 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBloberizer.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBloberizer.cpp
|
| @@ -291,9 +291,8 @@ float ShapeResultBloberizer::FillFastHorizontalGlyphs(
|
| auto results = result_buffer.results_;
|
|
|
| for (unsigned i = 0; i < results.size(); ++i) {
|
| - const auto& word_result = IsLeftToRightDirection(text_direction)
|
| - ? results[i]
|
| - : results[results.size() - 1 - i];
|
| + const auto& word_result =
|
| + IsLtr(text_direction) ? results[i] : results[results.size() - 1 - i];
|
| advance = FillFastHorizontalGlyphs(word_result.Get(), advance);
|
| }
|
|
|
|
|