| Index: Source/bindings/core/v8/Iterable.h
|
| diff --git a/Source/bindings/core/v8/Iterable.h b/Source/bindings/core/v8/Iterable.h
|
| index a24d10d3af89db7997c003cc33780f6ac841f780..43125b418db3b641bbe4eb1adcf768055dea30a5 100644
|
| --- a/Source/bindings/core/v8/Iterable.h
|
| +++ b/Source/bindings/core/v8/Iterable.h
|
| @@ -65,9 +65,8 @@ public:
|
| args[0] = toV8(value, creationContext, isolate);
|
| args[1] = toV8(key, creationContext, isolate);
|
|
|
| - V8ScriptRunner::callFunction(v8Callback, scriptState->executionContext(), v8ThisArg, 3, args, isolate);
|
| -
|
| - if (tryCatch.HasCaught()) {
|
| + v8::Local<v8::Value> result;
|
| + if (!V8ScriptRunner::callFunction(v8Callback, scriptState->executionContext(), v8ThisArg, 3, args, isolate).ToLocal(&result)) {
|
| exceptionState.rethrowV8Exception(tryCatch.Exception());
|
| return;
|
| }
|
|
|