| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index 04dc25ea91b30221b73e2b42e669c92f83e86c65..50a2014708d1fccbf3209adf94a0095827c1b08e 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -530,6 +530,8 @@ bool {{v8_class}}::PrivateScript::{{method.name}}Method({{method.argument_declar
|
|
|
| ScriptState::Scope scope(scriptState);
|
| v8::Local<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState->isolate());
|
| + if (holder.IsEmpty())
|
| + return false;
|
|
|
| {% for argument in method.arguments %}
|
| v8::Local<v8::Value> {{argument.handle}} = {{argument.private_script_cpp_value_to_v8_value}};
|
|
|