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

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

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.cpp
diff --git a/Source/modules/serviceworkers/StashedPortCollection.cpp b/Source/modules/serviceworkers/StashedPortCollection.cpp
index 31fa906c8a31a82176c857e2165eb9e17464790d..8c66b57b5762cdb2718101bc5a644ca6f6e84d83 100644
--- a/Source/modules/serviceworkers/StashedPortCollection.cpp
+++ b/Source/modules/serviceworkers/StashedPortCollection.cpp
@@ -13,9 +13,9 @@
namespace blink {
-PassRefPtrWillBeRawPtr<StashedPortCollection> StashedPortCollection::create(ExecutionContext* context)
+StashedPortCollection* StashedPortCollection::create(ExecutionContext* context)
{
- return adoptRefWillBeNoop(new StashedPortCollection(context));
+ return new StashedPortCollection(context);
}
StashedPortCollection::StashedPortCollection(ExecutionContext* context)
@@ -54,9 +54,8 @@ ExecutionContext* StashedPortCollection::executionContext() const
DEFINE_TRACE(StashedPortCollection)
{
visitor->trace(m_ports);
- EventTargetWithInlineData::trace(visitor);
+ RefCountedGarbageCollectedEventTargetWithInlineData::trace(visitor);
ContextLifecycleObserver::trace(visitor);
}
} // namespace blink
-
« no previous file with comments | « Source/modules/serviceworkers/StashedPortCollection.h ('k') | Source/modules/serviceworkers/StashedPortCollection.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698