Index: Source/modules/serviceworkers/RequestInit.h |
diff --git a/Source/modules/serviceworkers/RequestInit.h b/Source/modules/serviceworkers/RequestInit.h |
index f8bad76b4059830a77b16bcef8a591ece01872c0..6be2c31c0ef156dbcfdf0ee4ccc34c0d6f79c721 100644 |
--- a/Source/modules/serviceworkers/RequestInit.h |
+++ b/Source/modules/serviceworkers/RequestInit.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 RequestInit { |
+class RequestInit { |
+ STACK_ALLOCATED(); |
+public: |
explicit RequestInit(const Dictionary& options) |
{ |
options.get("method", method); |
@@ -24,7 +27,7 @@ struct RequestInit { |
} |
String method; |
- RefPtr<Headers> headers; |
+ RefPtrWillBeMember<Headers> headers; |
Dictionary headersDictionary; |
String mode; |
String credentials; |