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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp

Issue 2555923002: Changed TextDirection to an enum class and renamed its members (Closed)
Patch Set: Rebase after reopen Created 4 years 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/css/resolver/StyleResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
index 50a997b857a113374b95b0a31e34add8464a5ba4..24e802cedab22282b5d74a959857aa211d25e353 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp
@@ -480,7 +480,7 @@ void StyleResolver::matchAllRules(StyleResolverState& state,
->directionalityIfhasDirAutoAttribute(isAuto);
if (isAuto) {
state.setHasDirAutoAttribute(true);
- collector.addElementStyleProperties(textDirection == LTR
+ collector.addElementStyleProperties(textDirection == TextDirection::Ltr
? leftToRightDeclaration()
: rightToLeftDeclaration());
}
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperty.cpp ('k') | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698