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

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

Issue 389043002: Oilpan: move FetchBodyStream to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/modules/serviceworkers/FetchBodyStream.h ('k') | Source/modules/serviceworkers/FetchBodyStream.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchBodyStream.cpp
diff --git a/Source/modules/serviceworkers/FetchBodyStream.cpp b/Source/modules/serviceworkers/FetchBodyStream.cpp
index e72862604403b42ee247ca8693660c3e117dc9c0..6fa418fa56aaf1c5eba35fb8e6656fafa4fe4b82 100644
--- a/Source/modules/serviceworkers/FetchBodyStream.cpp
+++ b/Source/modules/serviceworkers/FetchBodyStream.cpp
@@ -18,9 +18,9 @@
namespace WebCore {
-PassRefPtr<FetchBodyStream> FetchBodyStream::create(ExecutionContext* context, PassRefPtr<BlobDataHandle> blobDataHandle)
+PassRefPtrWillBeRawPtr<FetchBodyStream> FetchBodyStream::create(ExecutionContext* context, PassRefPtr<BlobDataHandle> blobDataHandle)
{
- RefPtr<FetchBodyStream> fetchBodyStream(adoptRef(new FetchBodyStream(context, blobDataHandle)));
+ RefPtrWillBeRawPtr<FetchBodyStream> fetchBodyStream(adoptRefWillBeRefCountedGarbageCollected(new FetchBodyStream(context, blobDataHandle)));
fetchBodyStream->suspendIfNeeded();
return fetchBodyStream.release();
}
« no previous file with comments | « Source/modules/serviceworkers/FetchBodyStream.h ('k') | Source/modules/serviceworkers/FetchBodyStream.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698