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 6ae700239208683b0057043b754ada2dbf618b7f..11361e73e078d54109c1d9c82e4a415d43b5f3d3 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, |