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

Unified Diff: Source/core/html/forms/RadioInputType.h

Issue 27746003: Have InputType factories take an HTMLInputElement reference in parameter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 2 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/forms/PasswordInputType.cpp ('k') | Source/core/html/forms/RadioInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/RadioInputType.h
diff --git a/Source/core/html/forms/RadioInputType.h b/Source/core/html/forms/RadioInputType.h
index 667b3f2f399dc9c6a2cfa6891d73689bd9d77b4f..09788e2033aa303233a5f4c3f012b4320229c468 100644
--- a/Source/core/html/forms/RadioInputType.h
+++ b/Source/core/html/forms/RadioInputType.h
@@ -37,10 +37,10 @@ namespace WebCore {
class RadioInputType : public BaseCheckableInputType {
public:
- static PassRefPtr<InputType> create(HTMLInputElement*);
+ static PassRefPtr<InputType> create(HTMLInputElement&);
private:
- RadioInputType(HTMLInputElement* element) : BaseCheckableInputType(element) { }
+ RadioInputType(HTMLInputElement& element) : BaseCheckableInputType(element) { }
virtual const AtomicString& formControlType() const OVERRIDE;
virtual bool valueMissing(const String&) const OVERRIDE;
virtual String valueMissingText() const OVERRIDE;
« no previous file with comments | « Source/core/html/forms/PasswordInputType.cpp ('k') | Source/core/html/forms/RadioInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698