| Index: third_party/WebCore/workers/DedicatedWorkerContext.idl
|
| diff --git a/third_party/WebCore/workers/DedicatedWorkerContext.idl b/third_party/WebCore/workers/DedicatedWorkerContext.idl
|
| index 48ecfdcae27fffe4fef4f9a5b716e3338650195e..9e17e543fc97c39e7bbaf51d6d19d0d0d5ba572e 100644
|
| --- a/third_party/WebCore/workers/DedicatedWorkerContext.idl
|
| +++ b/third_party/WebCore/workers/DedicatedWorkerContext.idl
|
| @@ -43,8 +43,12 @@ module threads {
|
| #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
|
| [Custom] void postMessage(in any message, in [Optional] Array messagePorts)
|
| raises(DOMException);
|
| +
|
| +#if defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXES
|
| [Custom] void webkitPostMessage(in any message, in [Optional] Array transferList)
|
| raises(DOMException);
|
| +#endif // defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXES
|
| +
|
| #else
|
| // There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port.
|
| void postMessage(in DOMString message, in [Optional] MessagePort messagePort)
|
|
|