Index: third_party/WebKit/Source/core/html/HTMLRubyElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLRubyElement.cpp b/third_party/WebKit/Source/core/html/HTMLRubyElement.cpp |
index a5a97cfb557dd0a1d409bd8ac4e24c84443e2bd0..0cd5de4febe8c293a4806604698355e5bcb4fc5b 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLRubyElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLRubyElement.cpp |
@@ -20,9 +20,9 @@ DEFINE_NODE_FACTORY(HTMLRubyElement) |
LayoutObject* HTMLRubyElement::createLayoutObject(const ComputedStyle& style) |
{ |
- if (style.display() == INLINE) |
+ if (style.display() == EDisplay::Inline) |
return new LayoutRubyAsInline(this); |
- if (style.display() == BLOCK) |
+ if (style.display() == EDisplay::Block) |
return new LayoutRubyAsBlock(this); |
return LayoutObject::createObject(this, style); |
} |