| Index: third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
|
| index ebe5ed1cbe5d06093aa6be13bfbbb3156091b82f..c3e6049dc0619a6a5b3257553048cafac1be9bbe 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextControl.cpp
|
| @@ -51,17 +51,6 @@ HTMLElement* LayoutTextControl::innerEditorElement() const
|
| return textFormControlElement()->innerEditorElement();
|
| }
|
|
|
| -void LayoutTextControl::addChild(LayoutObject* newChild, LayoutObject* beforeChild)
|
| -{
|
| - // FIXME: This is a terrible hack to get the caret over the placeholder text since it'll
|
| - // 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")
|
| - LayoutBlockFlow::addChild(newChild, firstChild());
|
| - else
|
| - LayoutBlockFlow::addChild(newChild, beforeChild);
|
| -}
|
| -
|
| void LayoutTextControl::styleDidChange(StyleDifference diff, const ComputedStyle* oldStyle)
|
| {
|
| LayoutBlockFlow::styleDidChange(diff, oldStyle);
|
|
|