Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Unified Diff: third_party/WebKit/Source/core/layout/TextRunConstructor.cpp

Issue 2622623003: Moved -webkit-rtl-ordering to be generated in ComputedStyleBase. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698