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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.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/HTMLInputElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
index 4c405b31ea763680c56d5b05d317711491e734a3..dfffaabaeb98aa079036b50203a94e73d39f34ef 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
@@ -1817,7 +1817,7 @@ bool HTMLInputElement::setupDateTimeChooserParameters(
document().view()->contentsToScreen(pixelSnappedBoundingBox());
parameters.doubleValue = m_inputType->valueAsDouble();
parameters.isAnchorElementRTL =
- m_inputTypeView->computedTextDirection() == RTL;
+ m_inputTypeView->computedTextDirection() == TextDirection::Rtl;
if (HTMLDataListElement* dataList = this->dataList()) {
HTMLDataListOptionsCollection* options = dataList->options();
for (unsigned i = 0; HTMLOptionElement* option = options->item(i); ++i) {

Powered by Google App Engine
This is Rietveld 408576698