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

Unified Diff: Source/core/testing/Internals.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/scripts/make_names.pl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index ae0d33ad3dc2667f98588ef9cea3282e6c91a512..1f3df0e680f559431577f483514d3c1bea725fdc 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -757,7 +757,7 @@ void Internals::selectColorInColorChooser(Element* element, const String& colorV
{
if (!element->hasTagName(inputTag))
return;
- HTMLInputElement* inputElement = element->toInputElement();
+ Handle<HTMLInputElement> inputElement = element->toInputElement();
if (!inputElement)
return;
inputElement->selectColorInColorChooser(Color(colorValue));
@@ -1002,7 +1002,7 @@ bool Internals::wasLastChangeUserEdit(Element* textField, ExceptionCode& ec)
return false;
}
- if (HTMLInputElement* inputElement = textField->toInputElement())
+ if (Handle<HTMLInputElement> inputElement = textField->toInputElement())
return inputElement->lastChangeWasUserEdit();
// FIXME: We should be using hasTagName instead but Windows port doesn't link QualifiedNames properly.
@@ -1020,7 +1020,7 @@ bool Internals::elementShouldAutoComplete(Element* element, ExceptionCode& ec)
return false;
}
- if (HTMLInputElement* inputElement = element->toInputElement())
+ if (Handle<HTMLInputElement> inputElement = element->toInputElement())
return inputElement->shouldAutocomplete();
ec = INVALID_NODE_TYPE_ERR;
@@ -1034,7 +1034,7 @@ String Internals::suggestedValue(Element* element, ExceptionCode& ec)
return String();
}
- HTMLInputElement* inputElement = element->toInputElement();
+ Handle<HTMLInputElement> inputElement = element->toInputElement();
if (!inputElement) {
ec = INVALID_NODE_TYPE_ERR;
return String();
@@ -1050,7 +1050,7 @@ void Internals::setSuggestedValue(Element* element, const String& value, Excepti
return;
}
- HTMLInputElement* inputElement = element->toInputElement();
+ Handle<HTMLInputElement> inputElement = element->toInputElement();
if (!inputElement) {
ec = INVALID_NODE_TYPE_ERR;
return;
@@ -1066,7 +1066,7 @@ void Internals::setEditingValue(Element* element, const String& value, Exception
return;
}
- HTMLInputElement* inputElement = element->toInputElement();
+ Handle<HTMLInputElement> inputElement = element->toInputElement();
if (!inputElement) {
ec = INVALID_NODE_TYPE_ERR;
return;
@@ -1077,7 +1077,7 @@ void Internals::setEditingValue(Element* element, const String& value, Exception
void Internals::setAutofilled(Element* element, bool enabled, ExceptionCode& ec)
{
- HTMLInputElement* inputElement = element->toInputElement();
+ Handle<HTMLInputElement> inputElement = element->toInputElement();
if (!inputElement) {
ec = INVALID_ACCESS_ERR;
return;
@@ -1993,7 +1993,7 @@ bool Internals::isSelectPopupVisible(Node* node)
if (!isHTMLSelectElement(node))
return false;
- HTMLSelectElement* select = toHTMLSelectElement(node);
+ Handle<HTMLSelectElement> select = toHTMLSelectElement(node);
RenderObject* renderer = select->renderer();
if (!renderer->isMenuList())
« no previous file with comments | « Source/core/scripts/make_names.pl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698