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

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

Issue 384633002: Oilpan: add transition types to remaining Fetch and ServiceWorker objects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Another rebase 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.idl ('k') | Source/modules/serviceworkers/ServiceWorkerClients.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ResponseInit.h
diff --git a/Source/modules/serviceworkers/ResponseInit.h b/Source/modules/serviceworkers/ResponseInit.h
index 73bf03a924f9487c06e51a1f100dab8508b4fef5..915b7417dd4661387d20c6f06bc3b5454d566048 100644
--- a/Source/modules/serviceworkers/ResponseInit.h
+++ b/Source/modules/serviceworkers/ResponseInit.h
@@ -7,11 +7,14 @@
#include "bindings/core/v8/Dictionary.h"
#include "modules/serviceworkers/Headers.h"
+#include "platform/heap/Handle.h"
#include "wtf/RefPtr.h"
namespace WebCore {
-struct ResponseInit {
+class ResponseInit {
+ STACK_ALLOCATED();
+public:
ResponseInit()
: status(200)
, statusText("OK")
@@ -32,7 +35,7 @@ struct ResponseInit {
unsigned short status;
String statusText;
- RefPtr<Headers> headers;
+ RefPtrWillBeMember<Headers> headers;
Dictionary headersDictionary;
};
« no previous file with comments | « Source/modules/serviceworkers/Response.idl ('k') | Source/modules/serviceworkers/ServiceWorkerClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698