Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1086)

Unified Diff: Source/core/html/HTMLOutputElement.cpp

Issue 19510005: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLOutputElement.h ('k') | Source/core/html/HTMLSelectElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLOutputElement.cpp
diff --git a/Source/core/html/HTMLOutputElement.cpp b/Source/core/html/HTMLOutputElement.cpp
index d196825dfb7d0184dd9771869837f246b1091f60..4f2a9c4902a5ecf1f3615a9a229d7c79507539c9 100644
--- a/Source/core/html/HTMLOutputElement.cpp
+++ b/Source/core/html/HTMLOutputElement.cpp
@@ -47,9 +47,9 @@ inline HTMLOutputElement::HTMLOutputElement(const QualifiedName& tagName, Docume
ScriptWrappable::init(this);
}
-PassRefPtr<HTMLOutputElement> HTMLOutputElement::create(const QualifiedName& tagName, Document* document, HTMLFormElement* form)
+Result<HTMLOutputElement> HTMLOutputElement::create(const QualifiedName& tagName, Document* document, HTMLFormElement* form)
{
- return adoptRef(new HTMLOutputElement(tagName, document, form));
+ return adoptNode(new HTMLOutputElement(tagName, document, form));
}
const AtomicString& HTMLOutputElement::formControlType() const
@@ -142,4 +142,9 @@ void HTMLOutputElement::setTextContentInternal(const String& value)
setTextContent(value, IGNORE_EXCEPTION);
}
+void HTMLOutputElement::acceptHeapVisitor(Visitor* visitor) const
+{
+ HTMLFormControlElement::acceptHeapVisitor(visitor);
+}
+
} // namespace
« no previous file with comments | « Source/core/html/HTMLOutputElement.h ('k') | Source/core/html/HTMLSelectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698