| Index: third_party/WebKit/Source/core/layout/TextRunConstructor.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/TextRunConstructor.cpp b/third_party/WebKit/Source/core/layout/TextRunConstructor.cpp
|
| index ee582c922cc79351cd4af8db5c4e752da88fcb44..d31e6455e47e59ed135b4696686a295f65ea0022 100644
|
| --- a/third_party/WebKit/Source/core/layout/TextRunConstructor.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/TextRunConstructor.cpp
|
| @@ -45,7 +45,7 @@ static inline TextRun constructTextRunInternal(const Font& font,
|
| TextDirection direction) {
|
| TextRun::ExpansionBehavior expansion =
|
| TextRun::AllowTrailingExpansion | TextRun::ForbidLeadingExpansion;
|
| - bool directionalOverride = style.rtlOrdering() == VisualOrder;
|
| + bool directionalOverride = style.rtlOrdering() == EOrder::Visual;
|
| TextRun run(characters, length, 0, 0, expansion, direction,
|
| directionalOverride);
|
| return run;
|
| @@ -59,7 +59,7 @@ static inline TextRun constructTextRunInternal(const Font& font,
|
| TextDirection direction,
|
| TextRunFlags flags) {
|
| TextDirection textDirection = direction;
|
| - bool directionalOverride = style.rtlOrdering() == VisualOrder;
|
| + bool directionalOverride = style.rtlOrdering() == EOrder::Visual;
|
| if (flags != DefaultTextRunFlags) {
|
| if (flags & RespectDirection)
|
| textDirection = style.direction();
|
|
|