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

Unified Diff: Source/core/html/DateTimeLocalInputType.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/DateTimeLocalInputType.h ('k') | Source/core/html/EmailInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/DateTimeLocalInputType.cpp
diff --git a/Source/core/html/DateTimeLocalInputType.cpp b/Source/core/html/DateTimeLocalInputType.cpp
index 1428ae5cff69a8feec9a11186238eebdc6cdf792..ea7f9de75966b4f29296aa818bb389a93098f80b 100644
--- a/Source/core/html/DateTimeLocalInputType.cpp
+++ b/Source/core/html/DateTimeLocalInputType.cpp
@@ -53,9 +53,9 @@ static const int dateTimeLocalDefaultStep = 60;
static const int dateTimeLocalDefaultStepBase = 0;
static const int dateTimeLocalStepScaleFactor = 1000;
-PassOwnPtr<InputType> DateTimeLocalInputType::create(HTMLInputElement* element)
+PassRefPtr<InputType> DateTimeLocalInputType::create(HTMLInputElement* element)
{
- return adoptPtr(new DateTimeLocalInputType(element));
+ return adoptRef(new DateTimeLocalInputType(element));
}
void DateTimeLocalInputType::countUsage()
« no previous file with comments | « Source/core/html/DateTimeLocalInputType.h ('k') | Source/core/html/EmailInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698