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

Unified Diff: third_party/WebKit/Source/web/PopupMenuImpl.cpp

Issue 2516263002: Changed ETextTransform to an enum class and renamed its members (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyleConstants.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/PopupMenuImpl.cpp
diff --git a/third_party/WebKit/Source/web/PopupMenuImpl.cpp b/third_party/WebKit/Source/web/PopupMenuImpl.cpp
index 9e8ec467416c173ef614fb074ef3c38c8a5d987f..d858338f13c134e16f94cccf3dde29ebef208d28 100644
--- a/third_party/WebKit/Source/web/PopupMenuImpl.cpp
+++ b/third_party/WebKit/Source/web/PopupMenuImpl.cpp
@@ -73,13 +73,13 @@ const char* fontStyleToString(FontStyle style) {
const char* textTransformToString(ETextTransform transform) {
switch (transform) {
- case CAPITALIZE:
+ case ETextTransform::Capitalize:
return "capitalize";
- case UPPERCASE:
+ case ETextTransform::Uppercase:
return "uppercase";
- case LOWERCASE:
+ case ETextTransform::Lowercase:
return "lowercase";
- case TTNONE:
+ case ETextTransform::None:
return "none";
}
NOTREACHED();
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyleConstants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698