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

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: Rebased 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
Index: Source/modules/serviceworkers/ResponseInit.h
diff --git a/Source/modules/serviceworkers/ResponseInit.h b/Source/modules/serviceworkers/ResponseInit.h
index 7cef14212341bbc2644567b4dc15f678ddb9664c..9235fecae925aeb970280d925ba439d42e6b76eb 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;
};

Powered by Google App Engine
This is Rietveld 408576698