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

Unified Diff: third_party/WebKit/Source/core/html/forms/RadioInputType.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/html/forms/RadioInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp b/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp
index 5e7ccf63daa4b3c58fdb31c9f96a3e6732f0aaa0..22790940dfe0207b69e0f09fb5889937ff751beb 100644
--- a/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp
@@ -106,7 +106,7 @@ void RadioInputType::handleKeydownEvent(KeyboardEvent* event) {
Document& document = element().document();
if (isSpatialNavigationEnabled(document.frame()))
return;
- bool forward = computedTextDirection() == RTL
+ bool forward = computedTextDirection() == TextDirection::Rtl
? (key == "ArrowDown" || key == "ArrowLeft")
: (key == "ArrowDown" || key == "ArrowRight");

Powered by Google App Engine
This is Rietveld 408576698