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

Unified Diff: Source/core/workers/SharedWorker.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
« no previous file with comments | « Source/core/workers/AbstractWorker.idl ('k') | Source/core/workers/SharedWorker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/SharedWorker.h
diff --git a/Source/core/workers/SharedWorker.h b/Source/core/workers/SharedWorker.h
index 8be42c43819e13cf4aad3b4514875cdf2ec296f6..0bdc83e7cb0f44beb90c4be5516d288a59270691 100644
--- a/Source/core/workers/SharedWorker.h
+++ b/Source/core/workers/SharedWorker.h
@@ -41,11 +41,11 @@ namespace blink {
class ExceptionState;
-class CORE_EXPORT SharedWorker final : public AbstractWorker, public WillBeHeapSupplementable<SharedWorker> {
+class CORE_EXPORT SharedWorker final : public AbstractWorker, public HeapSupplementable<SharedWorker> {
DEFINE_WRAPPERTYPEINFO();
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SharedWorker);
+ USING_GARBAGE_COLLECTED_MIXIN(SharedWorker);
public:
- static PassRefPtrWillBeRawPtr<SharedWorker> create(ExecutionContext*, const String& url, const String& name, ExceptionState&);
+ static SharedWorker* create(ExecutionContext*, const String& url, const String& name, ExceptionState&);
~SharedWorker() override;
MessagePort* port() const { return m_port.get(); }
@@ -61,7 +61,7 @@ public:
private:
explicit SharedWorker(ExecutionContext*);
- PersistentWillBeMember<MessagePort> m_port;
+ Member<MessagePort> m_port;
bool m_isBeingConnected;
};
« no previous file with comments | « Source/core/workers/AbstractWorker.idl ('k') | Source/core/workers/SharedWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698