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

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

Powered by Google App Engine
This is Rietveld 408576698