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

Unified Diff: third_party/WebKit/Source/core/html/forms/RadioInputType.cpp

Issue 2614883007: Change computed style enums to be prefixed with 'k'. (Closed)
Patch Set: Rebase on ToT. Created 3 years, 11 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/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 22790940dfe0207b69e0f09fb5889937ff751beb..92e36ebce7b09eeda2c1bcb4b27a8de7f1571c82 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() == TextDirection::Rtl
+ bool forward = computedTextDirection() == TextDirection::kRtl
? (key == "ArrowDown" || key == "ArrowLeft")
: (key == "ArrowDown" || key == "ArrowRight");

Powered by Google App Engine
This is Rietveld 408576698