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

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: Another rebase 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
« no previous file with comments | « Source/modules/serviceworkers/Request.idl ('k') | Source/modules/serviceworkers/RespondWithObserver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/modules/serviceworkers/Request.idl ('k') | Source/modules/serviceworkers/RespondWithObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698