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

Unified Diff: Source/core/html/forms/ButtonInputType.cpp

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/ButtonInputType.h ('k') | Source/core/html/forms/CheckboxInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/ButtonInputType.cpp
diff --git a/Source/core/html/forms/ButtonInputType.cpp b/Source/core/html/forms/ButtonInputType.cpp
index 6b6d0c7ab1c3313899e46adf03e613f086741bd4..b56ac9a2123ed068e8ffe6694e3e983b97c9c38e 100644
--- a/Source/core/html/forms/ButtonInputType.cpp
+++ b/Source/core/html/forms/ButtonInputType.cpp
@@ -36,7 +36,7 @@
namespace WebCore {
-PassRefPtr<InputType> ButtonInputType::create(HTMLInputElement* element)
+PassRefPtr<InputType> ButtonInputType::create(HTMLInputElement& element)
{
return adoptRef(new ButtonInputType(element));
}
« no previous file with comments | « Source/core/html/forms/ButtonInputType.h ('k') | Source/core/html/forms/CheckboxInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698