Index: Source/core/html/HTMLSelectElement.cpp |
diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp |
index f1abd24b8c9210057597e89253065915aefcfc65..840c3e870d015e51d6693ec84543dd563632d661 100644 |
--- a/Source/core/html/HTMLSelectElement.cpp |
+++ b/Source/core/html/HTMLSelectElement.cpp |
@@ -1566,7 +1566,7 @@ void HTMLSelectElement::finishParsingChildren() |
bool HTMLSelectElement::anonymousIndexedSetter(unsigned index, PassRefPtr<HTMLOptionElement> value, ExceptionCode& ec) |
{ |
if (!value) { |
- ec = TYPE_MISMATCH_ERR; |
+ ec = TypeMismatchError; |
return false; |
} |
setOption(index, value.get(), ec); |