| Index: Source/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp b/Source/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp
|
| index a7fa8d2ccc488a073ad4614a33e5dbe187768084..24f5fcd3a127ed4380f1f9529b446e55eab5e184 100644
|
| --- a/Source/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp
|
| @@ -73,7 +73,7 @@ void V8HTMLOptionsCollection::namedItemMethodCustom(const v8::FunctionCallbackIn
|
| void V8HTMLOptionsCollection::addMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "add", "HTMLOptionsCollection", info.Holder(), info.GetIsolate());
|
| - if (!V8HTMLOptionElement::hasInstance(info[0], info.GetIsolate(), worldType(info.GetIsolate()))) {
|
| + if (!V8HTMLOptionElement::hasInstance(info[0], info.GetIsolate())) {
|
| exceptionState.throwTypeError("The element provided was not an HTMLOptionElement.");
|
| } else {
|
| HTMLOptionsCollection* imp = V8HTMLOptionsCollection::toNative(info.Holder());
|
|
|