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 ce2f8a79b634b544b8dc8bb6198b5d79be91f429..ac0b71279a59bb3e3a648988642a08e5f355bc53 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() == EOrder::Visual; |
+ bool directionalOverride = style.rtlOrdering() == EOrder::kVisual; |
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() == EOrder::Visual; |
+ bool directionalOverride = style.rtlOrdering() == EOrder::kVisual; |
if (flags != DefaultTextRunFlags) { |
if (flags & RespectDirection) |
textDirection = style.direction(); |