| Index: third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| index f32305b46c52de7728722c866fc152c70bdf4d10..c1078b80aede252fd1c919da85feef39f20f2299 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| @@ -465,7 +465,7 @@ void TextFieldInputType::updatePlaceholderText()
|
| placeholder->setAttribute(idAttr, ShadowElementNames::placeholder());
|
| Element* container = containerElement();
|
| Node* previous = container ? container : element().innerEditorElement();
|
| - previous->parentNode()->insertBefore(placeholder, previous->nextSibling());
|
| + previous->parentNode()->insertBefore(placeholder, previous);
|
| ASSERT_WITH_SECURITY_IMPLICATION(placeholder->parentNode() == previous->parentNode());
|
| }
|
| placeholder->setTextContent(placeholderText);
|
|
|