| Index: Source/modules/serviceworkers/FetchEvent.cpp
|
| diff --git a/Source/modules/serviceworkers/FetchEvent.cpp b/Source/modules/serviceworkers/FetchEvent.cpp
|
| index dae36a312ac22f25102a2f7887cf78f0e4795109..1aa9cd4c454175b7ddd846a95224b8cb2c15eb8d 100644
|
| --- a/Source/modules/serviceworkers/FetchEvent.cpp
|
| +++ b/Source/modules/serviceworkers/FetchEvent.cpp
|
| @@ -10,14 +10,14 @@
|
|
|
| namespace WebCore {
|
|
|
| -PassRefPtr<FetchEvent> FetchEvent::create()
|
| +PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create()
|
| {
|
| - return adoptRef(new FetchEvent());
|
| + return adoptRefWillBeRefCountedGarbageCollected(new FetchEvent());
|
| }
|
|
|
| -PassRefPtr<FetchEvent> FetchEvent::create(PassRefPtr<RespondWithObserver> observer)
|
| +PassRefPtrWillBeRawPtr<FetchEvent> FetchEvent::create(PassRefPtr<RespondWithObserver> observer)
|
| {
|
| - return adoptRef(new FetchEvent(observer));
|
| + return adoptRefWillBeRefCountedGarbageCollected(new FetchEvent(observer));
|
| }
|
|
|
| void FetchEvent::respondWith(const ScriptValue& value)
|
| @@ -42,4 +42,9 @@ FetchEvent::FetchEvent(PassRefPtr<RespondWithObserver> observer)
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| +void FetchEvent::trace(Visitor* visitor)
|
| +{
|
| + Event::trace(visitor);
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|