Index: Source/modules/serviceworkers/RequestInit.h |
diff --git a/Source/modules/serviceworkers/RequestInit.h b/Source/modules/serviceworkers/RequestInit.h |
index f8bad76b4059830a77b16bcef8a591ece01872c0..947fc9cb98c02e8f016443a692827b487527a599 100644 |
--- a/Source/modules/serviceworkers/RequestInit.h |
+++ b/Source/modules/serviceworkers/RequestInit.h |
@@ -14,13 +14,13 @@ namespace WebCore { |
struct RequestInit { |
explicit RequestInit(const Dictionary& options) |
{ |
- options.get("method", method); |
- options.get("headers", headers); |
+ DictionaryHelper::get(options, "method", method); |
+ DictionaryHelper::get(options, "headers", headers); |
if (!headers) { |
- options.get("headers", headersDictionary); |
+ DictionaryHelper::get(options, "headers", headersDictionary); |
} |
- options.get("mode", mode); |
- options.get("credentials", credentials); |
+ DictionaryHelper::get(options, "mode", mode); |
+ DictionaryHelper::get(options, "credentials", credentials); |
} |
String method; |