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

Unified Diff: third_party/WebKit/Source/core/html/HTMLRTElement.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/HTMLRTElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLRTElement.cpp b/third_party/WebKit/Source/core/html/HTMLRTElement.cpp
index fd5333c317540039b4c611c86ca51c1242921d97..ba3454e8ce6acbeb5be166dd31440403263b9c8b 100644
--- a/third_party/WebKit/Source/core/html/HTMLRTElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLRTElement.cpp
@@ -20,7 +20,7 @@ DEFINE_NODE_FACTORY(HTMLRTElement)
LayoutObject* HTMLRTElement::createLayoutObject(const ComputedStyle& style)
{
- if (style.display() == BLOCK)
+ if (style.display() == EDisplay::Block)
return new LayoutRubyText(this);
return LayoutObject::createObject(this, style);
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLOptionElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLRubyElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698