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

Unified Diff: third_party/WebKit/public/web/WebTextDirection.h

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
« no previous file with comments | « third_party/WebKit/Source/web/PopupMenuImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebTextDirection.h
diff --git a/third_party/WebKit/public/web/WebTextDirection.h b/third_party/WebKit/public/web/WebTextDirection.h
index bb33fb4842ecc71ef49515edaeace8a7bce30039..0600ef51e6c99030b8c3057280ef22723c9f4a76 100644
--- a/third_party/WebKit/public/web/WebTextDirection.h
+++ b/third_party/WebKit/public/web/WebTextDirection.h
@@ -48,9 +48,9 @@ enum WebTextDirection {
#if BLINK_IMPLEMENTATION
inline WebTextDirection toWebTextDirection(TextDirection direction) {
switch (direction) {
- case LTR:
+ case TextDirection::Ltr:
return WebTextDirectionLeftToRight;
- case RTL:
+ case TextDirection::Rtl:
return WebTextDirectionRightToLeft;
}
ASSERT_NOT_REACHED();
« no previous file with comments | « third_party/WebKit/Source/web/PopupMenuImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698