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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFormElement.cpp

Issue 2370673002: Changed EDisplay to an enum class and renamed its members to be keywords (Closed)
Patch Set: Comment Created 4 years, 3 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/HTMLFormElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
index ad9d90724c81b50af19a4532bd10fbd647dab4df..692a5af1c13cdc699554b82103e7d9e60e0bdbae 100644
--- a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
@@ -127,10 +127,10 @@ bool HTMLFormElement::layoutObjectIsNeeded(const ComputedStyle& style)
return true;
EDisplay display = style.display();
- bool formIsTablePart = display == TABLE || display == INLINE_TABLE || display == TABLE_ROW_GROUP
- || display == TABLE_HEADER_GROUP || display == TABLE_FOOTER_GROUP || display == TABLE_ROW
- || display == TABLE_COLUMN_GROUP || display == TABLE_COLUMN || display == TABLE_CELL
- || display == TABLE_CAPTION;
+ bool formIsTablePart = display == EDisplay::Table || display == EDisplay::InlineTable || display == EDisplay::TableRowGroup
+ || display == EDisplay::TableHeaderGroup || display == EDisplay::TableFooterGroup || display == EDisplay::TableRow
+ || display == EDisplay::TableColumnGroup || display == EDisplay::TableColumn || display == EDisplay::TableCell
+ || display == EDisplay::TableCaption;
return formIsTablePart;
}

Powered by Google App Engine
This is Rietveld 408576698