Index: Source/core/svg/SVGUseElement.cpp |
diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp |
index cd17e50d79545d90b76bc8ce46bed0afb669bfb1..e5f845a9119787c00edb7049a6bece6c8acaeb49 100644 |
--- a/Source/core/svg/SVGUseElement.cpp |
+++ b/Source/core/svg/SVGUseElement.cpp |
@@ -67,7 +67,7 @@ inline SVGUseElement::SVGUseElement(Document& document) |
PassRefPtrWillBeRawPtr<SVGUseElement> SVGUseElement::create(Document& document) |
{ |
// Always build a user agent #shadow-root for SVGUseElement. |
- RefPtrWillBeRawPtr<SVGUseElement> use = adoptRefWillBeRefCountedGarbageCollected(new SVGUseElement(document)); |
+ RefPtrWillBeRawPtr<SVGUseElement> use = adoptRefWillBeNoop(new SVGUseElement(document)); |
use->ensureUserAgentShadowRoot(); |
return use.release(); |
} |