| Index: Source/core/html/HTMLDetailsElement.cpp
|
| diff --git a/Source/core/html/HTMLDetailsElement.cpp b/Source/core/html/HTMLDetailsElement.cpp
|
| index 635f0fa7ba5ce3c4e935b2058771d07cacb6d53a..77e35fa2f56f9c3372bbdc6de9eb532c4279af0d 100644
|
| --- a/Source/core/html/HTMLDetailsElement.cpp
|
| +++ b/Source/core/html/HTMLDetailsElement.cpp
|
| @@ -60,14 +60,14 @@ void HTMLDetailsElement::didAddUserAgentShadowRoot(ShadowRoot* root)
|
| DEFINE_STATIC_LOCAL(AtomicString, summarySelector, ("summary:first-of-type", AtomicString::ConstructFromLiteral));
|
|
|
| RefPtr<HTMLSummaryElement> defaultSummary = HTMLSummaryElement::create(summaryTag, document());
|
| - defaultSummary->appendChild(Text::create(document(), defaultDetailsSummaryText()), ASSERT_NO_EXCEPTION_STATE);
|
| + defaultSummary->appendChild(Text::create(document(), defaultDetailsSummaryText()), ASSERT_NO_EXCEPTION);
|
|
|
| RefPtr<HTMLContentElement> content = HTMLContentElement::create(document());
|
| content->setAttribute(selectAttr, summarySelector);
|
| content->appendChild(defaultSummary);
|
|
|
| - root->appendChild(content, ASSERT_NO_EXCEPTION_STATE, AttachLazily);
|
| - root->appendChild(HTMLContentElement::create(document()), ASSERT_NO_EXCEPTION_STATE, AttachLazily);
|
| + root->appendChild(content, ASSERT_NO_EXCEPTION, AttachLazily);
|
| + root->appendChild(HTMLContentElement::create(document()), ASSERT_NO_EXCEPTION, AttachLazily);
|
| }
|
|
|
| Element* HTMLDetailsElement::findMainSummary() const
|
|
|