| Index: Source/bindings/core/v8/custom/V8UIWorkerGlobalScopeCustom.cpp
|
| diff --git a/Source/bindings/core/v8/custom/V8MessagePortCustom.cpp b/Source/bindings/core/v8/custom/V8UIWorkerGlobalScopeCustom.cpp
|
| similarity index 87%
|
| copy from Source/bindings/core/v8/custom/V8MessagePortCustom.cpp
|
| copy to Source/bindings/core/v8/custom/V8UIWorkerGlobalScopeCustom.cpp
|
| index 9ec4f75d89909c8cfb9cdfca65549217aeb9e098..f8d74bd0e10eeea88028b88607b04cc3be3eefde 100644
|
| --- a/Source/bindings/core/v8/custom/V8MessagePortCustom.cpp
|
| +++ b/Source/bindings/core/v8/custom/V8UIWorkerGlobalScopeCustom.cpp
|
| @@ -29,7 +29,7 @@
|
| */
|
|
|
| #include "config.h"
|
| -#include "bindings/core/v8/V8MessagePort.h"
|
| +#include "bindings/core/v8/V8UIWorkerGlobalScope.h"
|
|
|
| #include "bindings/core/v8/PostMessage.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
| @@ -37,9 +37,9 @@
|
| namespace blink {
|
|
|
| // FIXME: This stub should be replaced by generated code.
|
| -void V8MessagePort::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| +void V8UIWorkerGlobalScope::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| {
|
| - postMessageMethodCommon("MessagePort", V8MessagePort::toImpl(info.Holder()), info);
|
| + postMessageMethodCommon("WorkerGlobalScope", V8UIWorkerGlobalScope::toImpl(info.Holder()), info);
|
| }
|
|
|
| } // namespace blink
|
|
|