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

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

Issue 2910123002: Make TextOrientation an enum class. (Closed)
Patch Set: Created 3 years, 7 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/css/resolver/FontBuilder.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp b/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
index d62baafcc3913fb4a3014d448ee06b6ec9d61f08..56601c2ed71c0f35ca2f2c4cf688d47df229cb2e 100644
--- a/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/FontBuilder.cpp
@@ -242,11 +242,11 @@ static FontOrientation ComputeFontOrientation(const ComputedStyle& style) {
return FontOrientation::kHorizontal;
switch (style.GetTextOrientation()) {
- case kTextOrientationMixed:
+ case TextOrientation::kMixed:
return FontOrientation::kVerticalMixed;
- case kTextOrientationUpright:
+ case TextOrientation::kUpright:
return FontOrientation::kVerticalUpright;
- case kTextOrientationSideways:
+ case TextOrientation::kSideways:
return FontOrientation::kVerticalRotated;
default:
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698