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

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

Issue 1197763002: Oilpan: keep StashedPortCollection always on the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/StashedPortCollection.h
diff --git a/Source/modules/serviceworkers/StashedPortCollection.h b/Source/modules/serviceworkers/StashedPortCollection.h
index fee5d88d7cf7dd3452cc3d6301c9efbb79b52fdc..3520d04c88b14c462ea2f4fb15b326fb14414838 100644
--- a/Source/modules/serviceworkers/StashedPortCollection.h
+++ b/Source/modules/serviceworkers/StashedPortCollection.h
@@ -9,23 +9,21 @@
#include "core/events/EventTarget.h"
#include "modules/ModulesExport.h"
#include "modules/serviceworkers/StashedMessagePort.h"
-#include "wtf/RefCounted.h"
+#include "platform/heap/Handle.h"
+#include "wtf/Forward.h"
namespace blink {
class ScriptState;
-class ScriptValue;
-class ServiceWorkerGlobalScope;
class MODULES_EXPORT StashedPortCollection final
- : public EventTargetWithInlineData
- , public RefCountedWillBeNoBase<StashedPortCollection>
+ : public RefCountedGarbageCollectedEventTargetWithInlineData<StashedPortCollection>
, public ContextLifecycleObserver {
DEFINE_WRAPPERTYPEINFO();
- REFCOUNTED_EVENT_TARGET(StashedPortCollection);
+ REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(StashedPortCollection);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StashedPortCollection);
WTF_MAKE_NONCOPYABLE(StashedPortCollection);
public:
- static PassRefPtrWillBeRawPtr<StashedPortCollection> create(ExecutionContext*);
+ static StashedPortCollection* create(ExecutionContext*);
virtual ~StashedPortCollection();
void addPorts(const StashedMessagePortArray&);
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp ('k') | Source/modules/serviceworkers/StashedPortCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698