| Index: Source/core/html/shadow/PasswordGeneratorButtonElement.cpp
|
| diff --git a/Source/core/html/shadow/PasswordGeneratorButtonElement.cpp b/Source/core/html/shadow/PasswordGeneratorButtonElement.cpp
|
| index bcc124fa10f9d353432d2842c5d08a69ac0db3e0..9b05122b4ce0cdf526c60552e6d2e3772f375791 100644
|
| --- a/Source/core/html/shadow/PasswordGeneratorButtonElement.cpp
|
| +++ b/Source/core/html/shadow/PasswordGeneratorButtonElement.cpp
|
| @@ -90,14 +90,14 @@ void PasswordGeneratorButtonElement::decorate(HTMLInputElement* input)
|
| ASSERT(decorationRoot);
|
| ASSERT(existingRoot);
|
| RefPtr<HTMLDivElement> box = HTMLDivElement::create(input->document());
|
| - decorationRoot->appendChild(box);
|
| + decorationRoot->appendChild(box, ASSERT_NO_EXCEPTION, DeprecatedAttachNow);
|
| box->setInlineStyleProperty(CSSPropertyDisplay, CSSValueFlex);
|
| box->setInlineStyleProperty(CSSPropertyAlignItems, CSSValueCenter);
|
| ASSERT(existingRoot->childNodeCount() == 1);
|
| toHTMLElement(existingRoot->firstChild())->setInlineStyleProperty(CSSPropertyFlexGrow, 1.0, CSSPrimitiveValue::CSS_NUMBER);
|
| - box->appendChild(HTMLShadowElement::create(HTMLNames::shadowTag, input->document()));
|
| + box->appendChild(HTMLShadowElement::create(HTMLNames::shadowTag, input->document()), ASSERT_NO_EXCEPTION, DeprecatedAttachNow);
|
| setInlineStyleProperty(CSSPropertyDisplay, CSSValueNone);
|
| - box->appendChild(this);
|
| + box->appendChild(this, ASSERT_NO_EXCEPTION, DeprecatedAttachNow);
|
| }
|
|
|
| inline HTMLInputElement* PasswordGeneratorButtonElement::hostInput()
|
|
|