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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerMessageEvent.h

Issue 1212643004: [Oilpan] Apply RefCountedGarbageCollectedEventTarget on AbstractWorker (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove some redundant includes Created 5 years, 4 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/modules/serviceworkers/ServiceWorkerMessageEvent.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerMessageEvent.h b/Source/modules/serviceworkers/ServiceWorkerMessageEvent.h
index 37aa4de7bf1c6f276b1d3b5fe269d7c4bf34d6dd..da6f44d31e9de016532d4495b2d01367ba138833 100644
--- a/Source/modules/serviceworkers/ServiceWorkerMessageEvent.h
+++ b/Source/modules/serviceworkers/ServiceWorkerMessageEvent.h
@@ -26,7 +26,7 @@ public:
return adoptRefWillBeNoop(new ServiceWorkerMessageEvent(type, initializer));
}
- static PassRefPtrWillBeRawPtr<ServiceWorkerMessageEvent> create(MessagePortArray* ports, PassRefPtr<SerializedScriptValue> data, PassRefPtrWillBeRawPtr<ServiceWorker> source, const String& origin)
+ static PassRefPtrWillBeRawPtr<ServiceWorkerMessageEvent> create(MessagePortArray* ports, PassRefPtr<SerializedScriptValue> data, ServiceWorker* source, const String& origin)
{
return adoptRefWillBeNoop(new ServiceWorkerMessageEvent(data, origin, String(), source, ports));
}
@@ -48,13 +48,13 @@ public:
private:
ServiceWorkerMessageEvent();
ServiceWorkerMessageEvent(const AtomicString& type, const ServiceWorkerMessageEventInit& initializer);
- ServiceWorkerMessageEvent(PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, PassRefPtrWillBeRawPtr<ServiceWorker> source, MessagePortArray* ports);
+ ServiceWorkerMessageEvent(PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, ServiceWorker* source, MessagePortArray* ports);
ScriptValue m_data;
RefPtr<SerializedScriptValue> m_serializedData;
String m_origin;
String m_lastEventId;
- RefPtrWillBeMember<ServiceWorker> m_sourceAsServiceWorker;
+ PersistentWillBeMember<ServiceWorker> m_sourceAsServiceWorker;
PersistentWillBeMember<MessagePort> m_sourceAsMessagePort;
PersistentWillBeMember<MessagePortArray> m_ports;
};
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerContainer.cpp ('k') | Source/modules/serviceworkers/ServiceWorkerMessageEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698