| Index: Source/core/html/HTMLInputElement.cpp
|
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
|
| index cc381b9663e6130aad5fad2974f6b1196b9109c7..33f1b6b356aaf8397d56cd8dd9d79abb97c5c5ad 100644
|
| --- a/Source/core/html/HTMLInputElement.cpp
|
| +++ b/Source/core/html/HTMLInputElement.cpp
|
| @@ -146,6 +146,13 @@ void HTMLInputElement::didAddUserAgentShadowRoot(ShadowRoot*)
|
| m_inputType->createShadowSubtree();
|
| }
|
|
|
| +void HTMLInputElement::didAddShadowRoot(ShadowRoot& root)
|
| +{
|
| + if (!root.isOldestAuthorShadowRoot())
|
| + return;
|
| + m_inputTypeView = InputTypeView::create(this);
|
| +}
|
| +
|
| HTMLInputElement::~HTMLInputElement()
|
| {
|
| // Need to remove form association while this is still an HTMLInputElement
|
|
|