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

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

Issue 182763002: Add [WillBeGarbageCollected] to Event.idl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/mediastream/RTCIceCandidateEvent.cpp ('k') | Source/modules/serviceworkers/FetchEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchEvent.h
diff --git a/Source/modules/serviceworkers/FetchEvent.h b/Source/modules/serviceworkers/FetchEvent.h
index 5f5bccf7c30b92fafbe9ead121a8c9bc37fd9e64..cca053690d60349d62c43d2f55f79e1f2dadbb95 100644
--- a/Source/modules/serviceworkers/FetchEvent.h
+++ b/Source/modules/serviceworkers/FetchEvent.h
@@ -18,14 +18,16 @@ class RespondWithObserver;
// service worker's response.
class FetchEvent FINAL : public Event {
public:
- static PassRefPtr<FetchEvent> create();
- static PassRefPtr<FetchEvent> create(PassRefPtr<RespondWithObserver>);
+ static PassRefPtrWillBeRawPtr<FetchEvent> create();
+ static PassRefPtrWillBeRawPtr<FetchEvent> create(PassRefPtr<RespondWithObserver>);
virtual ~FetchEvent() { }
void respondWith(const ScriptValue&);
virtual const AtomicString& interfaceName() const OVERRIDE;
+ virtual void trace(Visitor*) OVERRIDE;
+
protected:
FetchEvent();
explicit FetchEvent(PassRefPtr<RespondWithObserver>);
« no previous file with comments | « Source/modules/mediastream/RTCIceCandidateEvent.cpp ('k') | Source/modules/serviceworkers/FetchEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698