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

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

Issue 478693005: Oilpan: Ship Oilpan for serviceworkers/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/FetchHeaderList.h ('k') | Source/modules/serviceworkers/FetchManager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchHeaderList.cpp
diff --git a/Source/modules/serviceworkers/FetchHeaderList.cpp b/Source/modules/serviceworkers/FetchHeaderList.cpp
index ee16b5d34a5a4f188e1ac8eb6491b3182ca99e46..f2849aa9c1f3ec568a0238cea8d45b77de03f590 100644
--- a/Source/modules/serviceworkers/FetchHeaderList.cpp
+++ b/Source/modules/serviceworkers/FetchHeaderList.cpp
@@ -11,17 +11,17 @@
namespace blink {
-PassRefPtrWillBeRawPtr<FetchHeaderList> FetchHeaderList::create()
+FetchHeaderList* FetchHeaderList::create()
{
- return adoptRefWillBeNoop(new FetchHeaderList());
+ return new FetchHeaderList();
}
-PassRefPtrWillBeRawPtr<FetchHeaderList> FetchHeaderList::createCopy()
+FetchHeaderList* FetchHeaderList::createCopy()
{
- RefPtrWillBeRawPtr<FetchHeaderList> list(create());
+ FetchHeaderList* list = create();
for (size_t i = 0; i < m_headerList.size(); ++i)
list->append(m_headerList[i]->first, m_headerList[i]->second);
- return list.release();
+ return list;
}
FetchHeaderList::FetchHeaderList()
« no previous file with comments | « Source/modules/serviceworkers/FetchHeaderList.h ('k') | Source/modules/serviceworkers/FetchManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698