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

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

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/FetchEvent.h ('k') | Source/modules/serviceworkers/FetchHeaderList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchEvent.cpp
diff --git a/Source/modules/serviceworkers/FetchEvent.cpp b/Source/modules/serviceworkers/FetchEvent.cpp
index d337f1f410c78098ef882f8f606bfc0552b675c8..c70497e3b33c29bd63d540085246f37a0dc5eaa0 100644
--- a/Source/modules/serviceworkers/FetchEvent.cpp
+++ b/Source/modules/serviceworkers/FetchEvent.cpp
@@ -16,12 +16,12 @@ PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create()
return adoptRefWillBeNoop(new FetchEvent());
}
-PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(PassRefPtr<RespondWithObserver> observer, PassRefPtr<Request> request)
+PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(PassRefPtr<RespondWithObserver> observer, PassRefPtrWillBeRawPtr<Request> request)
{
return adoptRefWillBeNoop(new FetchEvent(observer, request));
}
-PassRefPtr<Request> FetchEvent::request() const
+PassRefPtrWillBeRawPtr<Request> FetchEvent::request() const
{
return m_request;
}
@@ -52,7 +52,7 @@ FetchEvent::FetchEvent()
ScriptWrappable::init(this);
}
-FetchEvent::FetchEvent(PassRefPtr<RespondWithObserver> observer, PassRefPtr<Request> request)
+FetchEvent::FetchEvent(PassRefPtr<RespondWithObserver> observer, PassRefPtrWillBeRawPtr<Request> request)
: Event(EventTypeNames::fetch, /*canBubble=*/false, /*cancelable=*/true)
, m_observer(observer)
, m_request(request)
@@ -63,6 +63,7 @@ FetchEvent::FetchEvent(PassRefPtr<RespondWithObserver> observer, PassRefPtr<Requ
void FetchEvent::trace(Visitor* visitor)
{
+ visitor->trace(m_request);
Event::trace(visitor);
}
« no previous file with comments | « Source/modules/serviceworkers/FetchEvent.h ('k') | Source/modules/serviceworkers/FetchHeaderList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698