| Index: Source/modules/serviceworkers/FetchEvent.h
|
| diff --git a/Source/modules/serviceworkers/FetchEvent.h b/Source/modules/serviceworkers/FetchEvent.h
|
| index 0e9b2115a619129bccc206e9e993134c71adee6e..68b953cca0d369870fa86e196572a5de7019bd05 100644
|
| --- a/Source/modules/serviceworkers/FetchEvent.h
|
| +++ b/Source/modules/serviceworkers/FetchEvent.h
|
| @@ -8,6 +8,7 @@
|
| #include "modules/EventModules.h"
|
| #include "modules/serviceworkers/Request.h"
|
| #include "modules/serviceworkers/RespondWithObserver.h"
|
| +#include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| @@ -22,9 +23,9 @@ class FetchEvent FINAL : public Event {
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| static PassRefPtrWillBeRawPtr<FetchEvent> create();
|
| - static PassRefPtrWillBeRawPtr<FetchEvent> create(RespondWithObserver*, PassRefPtrWillBeRawPtr<Request>);
|
| + static PassRefPtrWillBeRawPtr<FetchEvent> create(RespondWithObserver*, Request*);
|
|
|
| - PassRefPtrWillBeRawPtr<Request> request() const;
|
| + Request* request() const;
|
| bool isReload() const;
|
|
|
| void respondWith(ScriptState*, const ScriptValue&);
|
| @@ -37,11 +38,11 @@ public:
|
|
|
| protected:
|
| FetchEvent();
|
| - FetchEvent(RespondWithObserver*, PassRefPtrWillBeRawPtr<Request>);
|
| + FetchEvent(RespondWithObserver*, Request*);
|
|
|
| private:
|
| PersistentWillBeMember<RespondWithObserver> m_observer;
|
| - RefPtrWillBeMember<Request> m_request;
|
| + PersistentWillBeMember<Request> m_request;
|
| bool m_isReload;
|
| };
|
|
|
|
|