| Index: Source/core/html/ColorInputType.cpp
|
| diff --git a/Source/core/html/ColorInputType.cpp b/Source/core/html/ColorInputType.cpp
|
| index 64d7afe8ba446a81b7db466463de53222dc46473..2d18538390d0e3f3387002631c581078b241ff37 100644
|
| --- a/Source/core/html/ColorInputType.cpp
|
| +++ b/Source/core/html/ColorInputType.cpp
|
| @@ -123,8 +123,8 @@ void ColorInputType::createShadowSubtree()
|
| wrapperElement->setPart(AtomicString("-webkit-color-swatch-wrapper", AtomicString::ConstructFromLiteral));
|
| RefPtr<HTMLDivElement> colorSwatch = HTMLDivElement::create(document);
|
| colorSwatch->setPart(AtomicString("-webkit-color-swatch", AtomicString::ConstructFromLiteral));
|
| - wrapperElement->appendChild(colorSwatch.release(), ASSERT_NO_EXCEPTION);
|
| - element()->userAgentShadowRoot()->appendChild(wrapperElement.release(), ASSERT_NO_EXCEPTION);
|
| + wrapperElement->appendChild(colorSwatch.release(), ASSERT_NO_EXCEPTION, DeprecatedAttachNow);
|
| + element()->userAgentShadowRoot()->appendChild(wrapperElement.release(), ASSERT_NO_EXCEPTION, DeprecatedAttachNow);
|
|
|
| updateColorSwatch();
|
| }
|
|
|