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

Unified Diff: Source/core/html/TelephoneInputType.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/TelephoneInputType.h ('k') | Source/core/html/TextInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/TelephoneInputType.cpp
diff --git a/Source/core/html/TelephoneInputType.cpp b/Source/core/html/TelephoneInputType.cpp
index e0f99c6f6d7e580df71b208988f1026d070f607f..e4e3e38c39a39b9a09d7b3567835cd261eb295d0 100644
--- a/Source/core/html/TelephoneInputType.cpp
+++ b/Source/core/html/TelephoneInputType.cpp
@@ -36,9 +36,9 @@
namespace WebCore {
-PassOwnPtr<InputType> TelephoneInputType::create(HTMLInputElement* element)
+PassRefPtr<InputType> TelephoneInputType::create(HTMLInputElement* element)
{
- return adoptPtr(new TelephoneInputType(element));
+ return adoptRef(new TelephoneInputType(element));
}
void TelephoneInputType::countUsage()
« no previous file with comments | « Source/core/html/TelephoneInputType.h ('k') | Source/core/html/TextInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698