| Index: Source/bindings/v8/custom/V8DedicatedWorkerGlobalScopeCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8DedicatedWorkerGlobalScopeCustom.cpp b/Source/bindings/v8/custom/V8DedicatedWorkerGlobalScopeCustom.cpp
|
| index 35964aa074d81394b9dd2cc2a4c2aa1ef6944d3e..877d5865dfd9eaf8dd312b2add4850c9b430ce7d 100644
|
| --- a/Source/bindings/v8/custom/V8DedicatedWorkerGlobalScopeCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8DedicatedWorkerGlobalScopeCustom.cpp
|
| @@ -59,9 +59,9 @@ void V8DedicatedWorkerGlobalScope::postMessageMethodCustom(const v8::FunctionCal
|
| RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffers, didThrow, info.GetIsolate());
|
| if (didThrow)
|
| return;
|
| - ExceptionState es(info.GetIsolate());
|
| - workerGlobalScope->postMessage(message.release(), &ports, es);
|
| - es.throwIfNeeded();
|
| + ExceptionState exceptionState(info.GetIsolate());
|
| + workerGlobalScope->postMessage(message.release(), &ports, exceptionState);
|
| + exceptionState.throwIfNeeded();
|
| }
|
|
|
| } // namespace WebCore
|
|
|