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

Unified Diff: Source/bindings/modules/v8/custom/V8ExtendableMessageEventCustom.cpp

Issue 1156703003: ServiceWorker: Introduce ExtendableMessageEvent to replace MessageEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update Created 5 years, 5 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
Index: Source/bindings/modules/v8/custom/V8ExtendableMessageEventCustom.cpp
diff --git a/Source/bindings/modules/v8/custom/V8ServiceWorkerMessageEventCustom.cpp b/Source/bindings/modules/v8/custom/V8ExtendableMessageEventCustom.cpp
similarity index 80%
copy from Source/bindings/modules/v8/custom/V8ServiceWorkerMessageEventCustom.cpp
copy to Source/bindings/modules/v8/custom/V8ExtendableMessageEventCustom.cpp
index 5746d7ef35db2f0f3f8bd7ccc6d81b3b9b1afa84..f95380f5b66e154c7a51d183d7eef65ddc2a4849 100644
--- a/Source/bindings/modules/v8/custom/V8ServiceWorkerMessageEventCustom.cpp
+++ b/Source/bindings/modules/v8/custom/V8ExtendableMessageEventCustom.cpp
@@ -3,16 +3,16 @@
// found in the LICENSE file.
#include "config.h"
-#include "bindings/modules/v8/V8ServiceWorkerMessageEvent.h"
+#include "bindings/modules/v8/V8ExtendableMessageEvent.h"
#include "bindings/core/v8/SerializedScriptValue.h"
#include "bindings/core/v8/V8HiddenValue.h"
namespace blink {
-void V8ServiceWorkerMessageEvent::dataAttributeGetterCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
+void V8ExtendableMessageEvent::dataAttributeGetterCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- ServiceWorkerMessageEvent* event = V8ServiceWorkerMessageEvent::toImpl(info.Holder());
+ ExtendableMessageEvent* event = V8ExtendableMessageEvent::toImpl(info.Holder());
v8::Isolate* isolate = info.GetIsolate();
v8::Local<v8::Value> result = V8HiddenValue::getHiddenValue(isolate, info.Holder(), V8HiddenValue::data(isolate));

Powered by Google App Engine
This is Rietveld 408576698