| Index: Source/core/html/HTMLInputElement.cpp
|
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
|
| index 6e13bc0d98d06a472e7136973da9ab0970a5fddf..d4d81505907bbbcf1db9402c8413b3b32586ceef 100644
|
| --- a/Source/core/html/HTMLInputElement.cpp
|
| +++ b/Source/core/html/HTMLInputElement.cpp
|
| @@ -1501,7 +1501,7 @@ bool HTMLInputElement::hasValidDataListOptions() const
|
| HTMLDataListElement* dataList = this->dataList();
|
| if (!dataList)
|
| return false;
|
| - RefPtr<HTMLCollection> options = dataList->options();
|
| + RefPtrWillBeRawPtr<HTMLCollection> options = dataList->options();
|
| for (unsigned i = 0; HTMLOptionElement* option = toHTMLOptionElement(options->item(i)); ++i) {
|
| if (isValidValue(option->value()))
|
| return true;
|
| @@ -1836,7 +1836,7 @@ bool HTMLInputElement::setupDateTimeChooserParameters(DateTimeChooserParameters&
|
| parameters.doubleValue = m_inputType->valueAsDouble();
|
| parameters.isAnchorElementRTL = computedStyle()->direction() == RTL;
|
| if (HTMLDataListElement* dataList = this->dataList()) {
|
| - RefPtr<HTMLCollection> options = dataList->options();
|
| + RefPtrWillBeRawPtr<HTMLCollection> options = dataList->options();
|
| for (unsigned i = 0; HTMLOptionElement* option = toHTMLOptionElement(options->item(i)); ++i) {
|
| if (!isValidValue(option->value()))
|
| continue;
|
|
|