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

Unified Diff: third_party/WebKit/Source/web/WebFormControlElement.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/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();
« no previous file with comments | « third_party/WebKit/Source/web/PopupMenuImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrameContentDumper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698