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

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

Powered by Google App Engine
This is Rietveld 408576698