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; |
}; |