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

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

Issue 384633002: Oilpan: add transition types to remaining Fetch and ServiceWorker objects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 5 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
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;

Powered by Google App Engine
This is Rietveld 408576698