Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 08ae67ccc7dcd8ca9ef260af1010c08aa0595749..b112bc50fc503da0c739770c8e6b3d5ce9dde918 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -132,7 +132,7 @@ HTMLInputElement::HTMLInputElement(Document& document, HTMLFormElement* form, bo |
PassRefPtrWillBeRawPtr<HTMLInputElement> HTMLInputElement::create(Document& document, HTMLFormElement* form, bool createdByParser) |
{ |
- RefPtrWillBeRawPtr<HTMLInputElement> inputElement = adoptRefWillBeRefCountedGarbageCollected(new HTMLInputElement(document, form, createdByParser)); |
+ RefPtrWillBeRawPtr<HTMLInputElement> inputElement = adoptRefWillBeNoop(new HTMLInputElement(document, form, createdByParser)); |
inputElement->ensureUserAgentShadowRoot(); |
return inputElement.release(); |
} |