| Index: Source/modules/serviceworkers/RequestInit.cpp
|
| diff --git a/Source/modules/serviceworkers/RequestInit.cpp b/Source/modules/serviceworkers/RequestInit.cpp
|
| index 5a23a6e3773fb61e2356be4f3a99415701f963c2..1ec20e2b01d99b666a565a40681bc5ec0b0a4db0 100644
|
| --- a/Source/modules/serviceworkers/RequestInit.cpp
|
| +++ b/Source/modules/serviceworkers/RequestInit.cpp
|
| @@ -5,12 +5,12 @@
|
| #include "config.h"
|
| #include "RequestInit.h"
|
|
|
| -#include "bindings/core/v8/Dictionary.h"
|
| #include "bindings/core/v8/V8Binding.h"
|
| #include "bindings/core/v8/V8Blob.h"
|
| #include "bindings/core/v8/V8FormData.h"
|
| #include "bindings/core/v8/custom/V8ArrayBufferCustom.h"
|
| #include "bindings/core/v8/custom/V8ArrayBufferViewCustom.h"
|
| +#include "bindings/modules/v8/DictionaryForModules.h"
|
| #include "core/fileapi/Blob.h"
|
| #include "modules/serviceworkers/Headers.h"
|
| #include "platform/blob/BlobData.h"
|
| @@ -21,16 +21,16 @@ namespace blink {
|
|
|
| RequestInit::RequestInit(ExecutionContext* context, const Dictionary& options, ExceptionState& exceptionState)
|
| {
|
| - DictionaryHelper::get(options, "method", method);
|
| - DictionaryHelper::get(options, "headers", headers);
|
| + options.get("method", method);
|
| + options.get("headers", headers);
|
| if (!headers) {
|
| - DictionaryHelper::get(options, "headers", headersDictionary);
|
| + options.get("headers", headersDictionary);
|
| }
|
| - DictionaryHelper::get(options, "mode", mode);
|
| - DictionaryHelper::get(options, "credentials", credentials);
|
| + options.get("mode", mode);
|
| + options.get("credentials", credentials);
|
|
|
| v8::Local<v8::Value> body;
|
| - if (!DictionaryHelper::get(options, "body", body) || body->IsUndefined() || body->IsNull())
|
| + if (!options.get("body", body) || body->IsUndefined() || body->IsNull())
|
| return;
|
| OwnPtr<BlobData> blobData = BlobData::create();
|
| v8::Isolate* isolate = toIsolate(context);
|
|
|