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

Unified Diff: Source/core/html/forms/BaseButtonInputType.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/HTMLInputElement.cpp ('k') | Source/core/html/forms/BaseButtonInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/BaseButtonInputType.h
diff --git a/Source/core/html/forms/BaseButtonInputType.h b/Source/core/html/forms/BaseButtonInputType.h
index ee5cbf2c0ab939565c0f34e15612f6979b3b6500..63f2a37cf127efd2a4615e465c52dd98becf2a55 100644
--- a/Source/core/html/forms/BaseButtonInputType.h
+++ b/Source/core/html/forms/BaseButtonInputType.h
@@ -38,7 +38,7 @@ namespace WebCore {
// Base of button, file, image, reset, and submit types.
class BaseButtonInputType : public BaseClickableWithKeyInputType {
protected:
- BaseButtonInputType(HTMLInputElement* element) : BaseClickableWithKeyInputType(element) { }
+ BaseButtonInputType(HTMLInputElement& element) : BaseClickableWithKeyInputType(element) { }
private:
virtual void createShadowSubtree() OVERRIDE;
« no previous file with comments | « Source/core/html/HTMLInputElement.cpp ('k') | Source/core/html/forms/BaseButtonInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698