Index: Source/core/html/HTMLSummaryElement.cpp |
diff --git a/Source/core/html/HTMLSummaryElement.cpp b/Source/core/html/HTMLSummaryElement.cpp |
index a5cba7cc750a1a64f2edba90d8e0637fe5de1287..9a9806666ac81ae8a7be58b394f8b8d3ae61202c 100644 |
--- a/Source/core/html/HTMLSummaryElement.cpp |
+++ b/Source/core/html/HTMLSummaryElement.cpp |
@@ -37,7 +37,7 @@ using namespace HTMLNames; |
PassRefPtrWillBeRawPtr<HTMLSummaryElement> HTMLSummaryElement::create(Document& document) |
{ |
- RefPtrWillBeRawPtr<HTMLSummaryElement> summary = adoptRefWillBeRefCountedGarbageCollected(new HTMLSummaryElement(document)); |
+ RefPtrWillBeRawPtr<HTMLSummaryElement> summary = adoptRefWillBeNoop(new HTMLSummaryElement(document)); |
summary->ensureUserAgentShadowRoot(); |
return summary.release(); |
} |