Index: third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp |
index d762b843cb68937c0613e82a659970c84caeed2e..a8edb0b8a0fd2541f0cab8ceff206b8dd93b9407 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp |
@@ -291,7 +291,7 @@ PassRefPtr<ComputedStyle> LayoutTextControlSingleLine::createInnerEditorStyle(co |
if (logicalHeight.isPercentOrCalc() || (logicalHeight.isFixed() && logicalHeight.getFloatValue() > computedLineHeight)) |
textBlockStyle->setLineHeight(ComputedStyle::initialLineHeight()); |
- textBlockStyle->setDisplay(BLOCK); |
+ textBlockStyle->setDisplay(EDisplay::Block); |
textBlockStyle->setUnique(); |
if (inputElement()->shouldRevealPassword()) |
@@ -302,7 +302,7 @@ PassRefPtr<ComputedStyle> LayoutTextControlSingleLine::createInnerEditorStyle(co |
textBlockStyle->setOverflowY(OverflowScroll); |
RefPtr<ComputedStyle> noScrollbarStyle = ComputedStyle::create(); |
noScrollbarStyle->setStyleType(PseudoIdScrollbar); |
- noScrollbarStyle->setDisplay(NONE); |
+ noScrollbarStyle->setDisplay(EDisplay::None); |
textBlockStyle->addCachedPseudoStyle(noScrollbarStyle); |
textBlockStyle->setHasPseudoStyle(PseudoIdScrollbar); |