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

Unified Diff: Source/core/html/SubmitInputType.cpp

Issue 19510005: [oilpan] Completely move HTMLFormControlElement's hierarchy to the managed heap Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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/SubmitInputType.h ('k') | Source/core/html/TelephoneInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/SubmitInputType.cpp
diff --git a/Source/core/html/SubmitInputType.cpp b/Source/core/html/SubmitInputType.cpp
index 1cb2c636eb902c200614bb44fda8bb08b56eb2f6..16ee3179bac90fe2b0e52462252a1391ded09187 100644
--- a/Source/core/html/SubmitInputType.cpp
+++ b/Source/core/html/SubmitInputType.cpp
@@ -42,7 +42,7 @@
namespace WebCore {
-PassOwnPtr<InputType> SubmitInputType::create(HTMLInputElement* element)
+PassOwnPtr<InputType> SubmitInputType::create(Handle<HTMLInputElement> element)
{
return adoptPtr(new SubmitInputType(element));
}
@@ -67,7 +67,7 @@ bool SubmitInputType::supportsRequired() const
void SubmitInputType::handleDOMActivateEvent(Event* event)
{
- RefPtr<HTMLInputElement> element = this->element();
+ Handle<HTMLInputElement> element = this->element();
if (element->isDisabledFormControl() || !element->form())
return;
element->setActivatedSubmit(true);
« no previous file with comments | « Source/core/html/SubmitInputType.h ('k') | Source/core/html/TelephoneInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698