| Index: Source/bindings/v8/custom/V8WorkerCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8WorkerCustom.cpp b/Source/bindings/v8/custom/V8WorkerCustom.cpp
|
| index 680e91c17f157aeb50079926a54cb4e1cd6191b9..3fd8192c0156261d274a8344c382c52be87d825d 100644
|
| --- a/Source/bindings/v8/custom/V8WorkerCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8WorkerCustom.cpp
|
| @@ -60,9 +60,9 @@ void V8Worker::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::Value>
|
| RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffers, didThrow, info.GetIsolate());
|
| if (didThrow)
|
| return;
|
| - ExceptionState es(info.GetIsolate());
|
| - worker->postMessage(message.release(), &ports, es);
|
| - es.throwIfNeeded();
|
| + ExceptionState exceptionState(info.GetIsolate());
|
| + worker->postMessage(message.release(), &ports, exceptionState);
|
| + exceptionState.throwIfNeeded();
|
| }
|
|
|
| } // namespace WebCore
|
|
|