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

Unified Diff: Source/core/html/forms/DateTimeLocalInputType.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/DateInputType.cpp ('k') | Source/core/html/forms/DateTimeLocalInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/DateTimeLocalInputType.h
diff --git a/Source/core/html/forms/DateTimeLocalInputType.h b/Source/core/html/forms/DateTimeLocalInputType.h
index 699ccdd4605b0bae3b8c99827e703acf2853499c..eca7d02c8f9908a1dff893d297a01af24a7409e7 100644
--- a/Source/core/html/forms/DateTimeLocalInputType.h
+++ b/Source/core/html/forms/DateTimeLocalInputType.h
@@ -46,10 +46,10 @@ typedef BaseChooserOnlyDateAndTimeInputType BaseDateTimeLocalInputType;
class DateTimeLocalInputType : public BaseDateTimeLocalInputType {
public:
- static PassRefPtr<InputType> create(HTMLInputElement*);
+ static PassRefPtr<InputType> create(HTMLInputElement&);
private:
- DateTimeLocalInputType(HTMLInputElement* element) : BaseDateTimeLocalInputType(element) { }
+ DateTimeLocalInputType(HTMLInputElement& element) : BaseDateTimeLocalInputType(element) { }
virtual void countUsage() OVERRIDE;
virtual const AtomicString& formControlType() const OVERRIDE;
virtual DateComponents::Type dateType() const OVERRIDE;
« no previous file with comments | « Source/core/html/forms/DateInputType.cpp ('k') | Source/core/html/forms/DateTimeLocalInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698