| Index: third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp
|
| index a1c2a4eb7d9c94a5bc0daa2dcb0bf5c24286650b..7a23509003b46d702f298cc16ea445fbcc4742e8 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp
|
| +++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzShaper.cpp
|
| @@ -108,8 +108,8 @@ static inline hb_direction_t TextDirectionToHBDirection(
|
| !fontData->isTextOrientationFallback()
|
| ? HB_DIRECTION_TTB
|
| : HB_DIRECTION_LTR;
|
| - return dir == RTL ? HB_DIRECTION_REVERSE(harfBuzzDirection)
|
| - : harfBuzzDirection;
|
| + return dir == TextDirection::Rtl ? HB_DIRECTION_REVERSE(harfBuzzDirection)
|
| + : harfBuzzDirection;
|
| }
|
|
|
| inline bool shapeRange(hb_buffer_t* harfBuzzBuffer,
|
|
|