| Index: Source/core/rendering/RenderTextControl.cpp
|
| diff --git a/Source/core/rendering/RenderTextControl.cpp b/Source/core/rendering/RenderTextControl.cpp
|
| index 30179a0c7ade61095a611f6a5c6393dce4e161f5..690a1c43c11763477ca478f40b6409d78f4a3bd6 100644
|
| --- a/Source/core/rendering/RenderTextControl.cpp
|
| +++ b/Source/core/rendering/RenderTextControl.cpp
|
| @@ -58,14 +58,14 @@ void RenderTextControl::addChild(RenderObject* newChild, RenderObject* beforeChi
|
| // make us paint the placeholder first. (See https://trac.webkit.org/changeset/118733)
|
| Node* node = newChild->node();
|
| if (node && node->isElementNode() && toElement(node)->shadowPseudoId() == "-webkit-input-placeholder")
|
| - RenderBlock::addChild(newChild, firstChild());
|
| + RenderBlockFlow::addChild(newChild, firstChild());
|
| else
|
| - RenderBlock::addChild(newChild, beforeChild);
|
| + RenderBlockFlow::addChild(newChild, beforeChild);
|
| }
|
|
|
| void RenderTextControl::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
|
| {
|
| - RenderBlock::styleDidChange(diff, oldStyle);
|
| + RenderBlockFlow::styleDidChange(diff, oldStyle);
|
| Element* innerText = innerTextElement();
|
| if (!innerText)
|
| return;
|
|
|