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

Unified Diff: Source/core/html/forms/BaseTextInputType.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
Index: Source/core/html/forms/BaseTextInputType.h
diff --git a/Source/core/html/forms/BaseTextInputType.h b/Source/core/html/forms/BaseTextInputType.h
index 05e2cd5f65ab65a6e7ec966abb9cd4919e53b355..8c917a0b61616d4e41ede66782854fdc8eada1ff 100644
--- a/Source/core/html/forms/BaseTextInputType.h
+++ b/Source/core/html/forms/BaseTextInputType.h
@@ -39,7 +39,7 @@ namespace WebCore {
// They support maxlength, selection functions, and so on.
class BaseTextInputType : public TextFieldInputType {
protected:
- BaseTextInputType(HTMLInputElement* element) : TextFieldInputType(element) { }
+ BaseTextInputType(HTMLInputElement& element) : TextFieldInputType(element) { }
private:
virtual bool isTextType() const OVERRIDE;
« no previous file with comments | « Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp ('k') | Source/core/html/forms/BaseTextInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698