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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSelectElement.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/HTMLSelectElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
index a344bcde69df0cb2454ba0cc2ee0f00afd10af7c..3ae3941f72c57dd48c1be775b6e995c30e178cca 100644
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
@@ -1814,7 +1814,7 @@ bool HTMLSelectElement::itemIsDisplayNone(Element& element) const
if (isHTMLOptionElement(element))
return toHTMLOptionElement(element).isDisplayNone();
if (const ComputedStyle* style = itemComputedStyle(element))
- return style->display() == NONE;
+ return style->display() == EDisplay::None;
return false;
}

Powered by Google App Engine
This is Rietveld 408576698