Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2025)

Unified Diff: Source/modules/serviceworkers/ResponseInit.h

Issue 534133002: [WIP] bindings: Introduce PropertyBag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/serviceworkers/Response.h ('k') | Source/modules/serviceworkers/ServiceWorkerClients.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/ResponseInit.h
diff --git a/Source/modules/serviceworkers/ResponseInit.h b/Source/modules/serviceworkers/ResponseInit.h
index 6ac845cd6f9d9db4e8fa2c41e7e8478697c69666..3697bf9ff2cb7e376669cf881c09926e5fe34ffa 100644
--- a/Source/modules/serviceworkers/ResponseInit.h
+++ b/Source/modules/serviceworkers/ResponseInit.h
@@ -5,7 +5,7 @@
#ifndef ResponseInit_h
#define ResponseInit_h
-#include "bindings/core/v8/Dictionary.h"
+#include "bindings/modules/v8/DictionaryForModules.h"
#include "modules/serviceworkers/Headers.h"
#include "platform/heap/Handle.h"
#include "wtf/RefPtr.h"
@@ -24,12 +24,12 @@ public:
: status(200)
, statusText("OK")
{
- DictionaryHelper::get(options, "status", status);
+ options.get("status", status);
// FIXME: Spec uses ByteString for statusText. http://crbug.com/347426
- DictionaryHelper::get(options, "statusText", statusText);
- DictionaryHelper::get(options, "headers", headers);
+ options.get("statusText", statusText);
+ options.get("headers", headers);
if (!headers) {
- DictionaryHelper::get(options, "headers", headersDictionary);
+ options.get("headers", headersDictionary);
}
}
« no previous file with comments | « Source/modules/serviceworkers/Response.h ('k') | Source/modules/serviceworkers/ServiceWorkerClients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698