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

Unified Diff: Source/core/html/ValidationMessage.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/ValidationMessage.h ('k') | Source/core/html/WeekInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/ValidationMessage.cpp
diff --git a/Source/core/html/ValidationMessage.cpp b/Source/core/html/ValidationMessage.cpp
index c155fa282e730f62b6193e962ccbed94153eec14..676a09685e710229a4a9ff4ffc5cbb21f9c255ca 100644
--- a/Source/core/html/ValidationMessage.cpp
+++ b/Source/core/html/ValidationMessage.cpp
@@ -53,8 +53,8 @@ namespace WebCore {
using namespace HTMLNames;
-ALWAYS_INLINE ValidationMessage::ValidationMessage(HTMLFormControlElement* element)
- : m_element(element)
+ALWAYS_INLINE ValidationMessage::ValidationMessage(Handle<HTMLFormControlElement> element)
+ : m_element(element.raw())
{
ASSERT(m_element);
}
@@ -69,7 +69,7 @@ ValidationMessage::~ValidationMessage()
deleteBubbleTree();
}
-PassOwnPtr<ValidationMessage> ValidationMessage::create(HTMLFormControlElement* element)
+PassOwnPtr<ValidationMessage> ValidationMessage::create(Handle<HTMLFormControlElement> element)
{
return adoptPtr(new ValidationMessage(element));
}
« no previous file with comments | « Source/core/html/ValidationMessage.h ('k') | Source/core/html/WeekInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698