Index: third_party/WebKit/Source/web/WebFormControlElement.cpp |
diff --git a/third_party/WebKit/Source/web/WebFormControlElement.cpp b/third_party/WebKit/Source/web/WebFormControlElement.cpp |
index 9dd3ae31e9f34926ecac0a5db9515883d522f05a..1e9fd8352546003ee0109ca08d0d8a04794aa9b1 100644 |
--- a/third_party/WebKit/Source/web/WebFormControlElement.cpp |
+++ b/third_party/WebKit/Source/web/WebFormControlElement.cpp |
@@ -179,9 +179,9 @@ int WebFormControlElement::selectionEnd() const { |
WebString WebFormControlElement::alignmentForFormData() const { |
if (const ComputedStyle* style = |
constUnwrap<HTMLFormControlElement>()->computedStyle()) { |
- if (style->textAlign() == ETextAlign::Right) |
+ if (style->textAlign() == ETextAlign::kRight) |
return WebString::fromUTF8("right"); |
- if (style->textAlign() == ETextAlign::Left) |
+ if (style->textAlign() == ETextAlign::kLeft) |
return WebString::fromUTF8("left"); |
} |
return WebString(); |