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

Unified Diff: Source/core/html/forms/TelephoneInputType.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/SubmitInputType.cpp ('k') | Source/core/html/forms/TelephoneInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/TelephoneInputType.h
diff --git a/Source/core/html/forms/TelephoneInputType.h b/Source/core/html/forms/TelephoneInputType.h
index b49b0a235c5b76949c306b8c0f0c377fe72c6ac3..d636ee2bff62fd54975807f38ec2a25b4dbd57bc 100644
--- a/Source/core/html/forms/TelephoneInputType.h
+++ b/Source/core/html/forms/TelephoneInputType.h
@@ -37,10 +37,10 @@ namespace WebCore {
class TelephoneInputType : public BaseTextInputType {
public:
- static PassRefPtr<InputType> create(HTMLInputElement*);
+ static PassRefPtr<InputType> create(HTMLInputElement&);
private:
- TelephoneInputType(HTMLInputElement* element) : BaseTextInputType(element) { }
+ TelephoneInputType(HTMLInputElement& element) : BaseTextInputType(element) { }
virtual void countUsage() OVERRIDE;
virtual const AtomicString& formControlType() const OVERRIDE;
virtual bool shouldRespectSpeechAttribute() OVERRIDE;
« no previous file with comments | « Source/core/html/forms/SubmitInputType.cpp ('k') | Source/core/html/forms/TelephoneInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698