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

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

Issue 2913723002: Generate enum/getters/setters/mappings for text-orientation. (Closed)
Patch Set: Rebase 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 56601c2ed71c0f35ca2f2c4cf688d47df229cb2e..0e05ce9476af3aa9632251220ff7117c796575de 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 TextOrientation::kMixed:
+ case ETextOrientation::kMixed:
return FontOrientation::kVerticalMixed;
- case TextOrientation::kUpright:
+ case ETextOrientation::kUpright:
return FontOrientation::kVerticalUpright;
- case TextOrientation::kSideways:
+ case ETextOrientation::kSideways:
return FontOrientation::kVerticalRotated;
default:
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698