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

Unified Diff: Source/core/html/InputType.h

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/ImageInputType.cpp ('k') | Source/core/html/InputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/InputType.h
diff --git a/Source/core/html/InputType.h b/Source/core/html/InputType.h
index 9e84a00f74f30c7d8d3dd22dcfd5d5a0ac2f14fc..b19742ea16818cc3388b30cc8a6918679ae05fc8 100644
--- a/Source/core/html/InputType.h
+++ b/Source/core/html/InputType.h
@@ -58,8 +58,8 @@ class InputType : public InputTypeView {
WTF_MAKE_FAST_ALLOCATED;
public:
- static PassOwnPtr<InputType> create(HTMLInputElement*, const AtomicString&);
- static PassOwnPtr<InputType> createText(HTMLInputElement*);
+ static PassRefPtr<InputType> create(HTMLInputElement*, const AtomicString&);
+ static PassRefPtr<InputType> createText(HTMLInputElement*);
static const AtomicString& normalizeTypeName(const AtomicString&);
virtual ~InputType();
« no previous file with comments | « Source/core/html/ImageInputType.cpp ('k') | Source/core/html/InputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698