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

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

Issue 478693005: Oilpan: Ship Oilpan for serviceworkers/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
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;
};

Powered by Google App Engine
This is Rietveld 408576698