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

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

Issue 23502003: Make InputType and InputTypeView RefCounted. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/SubmitInputType.h ('k') | Source/core/html/TelephoneInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/SubmitInputType.cpp
diff --git a/Source/core/html/SubmitInputType.cpp b/Source/core/html/SubmitInputType.cpp
index 1aadb5f5c746a9cb89d3f2ca2a0790e04ab1b50e..a0d460f4d3e2e647286bdc550cfa3a1c45e9d50a 100644
--- a/Source/core/html/SubmitInputType.cpp
+++ b/Source/core/html/SubmitInputType.cpp
@@ -42,9 +42,9 @@
namespace WebCore {
-PassOwnPtr<InputType> SubmitInputType::create(HTMLInputElement* element)
+PassRefPtr<InputType> SubmitInputType::create(HTMLInputElement* element)
{
- return adoptPtr(new SubmitInputType(element));
+ return adoptRef(new SubmitInputType(element));
}
const AtomicString& SubmitInputType::formControlType() const
« no previous file with comments | « Source/core/html/SubmitInputType.h ('k') | Source/core/html/TelephoneInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698