| Index: Source/core/html/HTMLSelectElement.cpp
|
| diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp
|
| index 5af0ae9c1949b2a7132321c096a6e4d21499589a..baf56aa7a374f69e0f8842b1d954430dceec46c2 100644
|
| --- a/Source/core/html/HTMLSelectElement.cpp
|
| +++ b/Source/core/html/HTMLSelectElement.cpp
|
| @@ -1573,4 +1573,14 @@ void HTMLSelectElement::finishParsingChildren()
|
| updateListItemSelectedStates();
|
| }
|
|
|
| +bool HTMLSelectElement::anonymousIndexedSetter(unsigned index, PassRefPtr<HTMLOptionElement> value, ExceptionCode& ec)
|
| +{
|
| + if (!value) {
|
| + ec = TYPE_MISMATCH_ERR;
|
| + return false;
|
| + }
|
| + setOption(index, value.get(), ec);
|
| + return true;
|
| +}
|
| +
|
| } // namespace
|
|
|