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

Unified Diff: Source/modules/serviceworkers/Response.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/Response.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Response.cpp
diff --git a/Source/modules/serviceworkers/Response.cpp b/Source/modules/serviceworkers/Response.cpp
index f9e392fd76779c1625248684162c6f3dfdde9723..2d138cec54f2f9644b188db463a9c7ebbe47eaf4 100644
--- a/Source/modules/serviceworkers/Response.cpp
+++ b/Source/modules/serviceworkers/Response.cpp
@@ -140,7 +140,7 @@ PassRefPtrWillBeRawPtr<Headers> Response::headers() const
return m_headers;
}
-PassRefPtr<FetchBodyStream> Response::body(ExecutionContext* context)
+PassRefPtrWillBeRawPtr<FetchBodyStream> Response::body(ExecutionContext* context)
{
if (!m_fetchBodyStream)
m_fetchBodyStream = FetchBodyStream::create(context, m_response->blobDataHandle());
@@ -172,6 +172,7 @@ void Response::trace(Visitor* visitor)
{
visitor->trace(m_response);
visitor->trace(m_headers);
+ visitor->trace(m_fetchBodyStream);
}
} // namespace WebCore
« no previous file with comments | « Source/modules/serviceworkers/Response.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698