Index: Source/core/html/shadow/TextFieldDecorationElement.cpp |
diff --git a/Source/core/html/shadow/TextFieldDecorationElement.cpp b/Source/core/html/shadow/TextFieldDecorationElement.cpp |
index f281d438896f3f98857c8b7a1811cd03e9253d5d..ff81c1b23791f8fb3cfccfa848c36c174c1d79d6 100644 |
--- a/Source/core/html/shadow/TextFieldDecorationElement.cpp |
+++ b/Source/core/html/shadow/TextFieldDecorationElement.cpp |
@@ -111,10 +111,10 @@ void TextFieldDecorationElement::decorate(HTMLInputElement* input, bool visible) |
ASSERT(existingRoot); |
RefPtr<HTMLDivElement> box = HTMLDivElement::create(input->document()); |
decorationRoot->appendChild(box); |
- box->setInlineStyleProperty(CSSPropertyDisplay, CSSValueWebkitFlex); |
- box->setInlineStyleProperty(CSSPropertyWebkitAlignItems, CSSValueCenter); |
+ box->setInlineStyleProperty(CSSPropertyDisplay, CSSValueFlex); |
+ box->setInlineStyleProperty(CSSPropertyAlignItems, CSSValueCenter); |
ASSERT(existingRoot->childNodeCount() == 1); |
- toHTMLElement(existingRoot->firstChild())->setInlineStyleProperty(CSSPropertyWebkitFlexGrow, 1.0, CSSPrimitiveValue::CSS_NUMBER); |
+ toHTMLElement(existingRoot->firstChild())->setInlineStyleProperty(CSSPropertyFlexGrow, 1.0, CSSPrimitiveValue::CSS_NUMBER); |
box->appendChild(HTMLShadowElement::create(HTMLNames::shadowTag, input->document())); |
setInlineStyleProperty(CSSPropertyDisplay, visible ? CSSValueBlock : CSSValueNone); |
box->appendChild(this); |