| Index: Source/modules/serviceworkers/RequestInit.h
|
| diff --git a/Source/modules/serviceworkers/RequestInit.h b/Source/modules/serviceworkers/RequestInit.h
|
| index 947fc9cb98c02e8f016443a692827b487527a599..aa9b24fd64be373dd901f2d7e4f0d7e5a9c12443 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)
|
| {
|
| DictionaryHelper::get(options, "method", method);
|
| @@ -24,7 +27,7 @@ struct RequestInit {
|
| }
|
|
|
| String method;
|
| - RefPtr<Headers> headers;
|
| + RefPtrWillBeMember<Headers> headers;
|
| Dictionary headersDictionary;
|
| String mode;
|
| String credentials;
|
|
|