Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Unified Diff: Source/bindings/core/v8/custom/V8UIWorkerGlobalScopeCustom.cpp

Issue 474683003: Not for review - Rebase of crrev.com/62833003 Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/core/v8/WorkerScriptController.cpp ('k') | Source/bindings/core/v8/custom/custom.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/bindings/core/v8/WorkerScriptController.cpp ('k') | Source/bindings/core/v8/custom/custom.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698