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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 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
Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
index b28a3c21a69daaba273ea701abb07e049103d585..4ae96ad9f4638bb88957437d2d857ba9e5f52b89 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.h
@@ -6,6 +6,7 @@
#define ServiceWorkerRegistration_h
#include "bindings/core/v8/ScriptPromiseResolver.h"
+#include "bindings/core/v8/V8GCRoot.h"
#include "core/dom/ActiveDOMObject.h"
#include "core/events/EventTarget.h"
#include "modules/serviceworkers/ServiceWorker.h"
@@ -31,7 +32,8 @@ class ServiceWorkerRegistration final
: public RefCountedGarbageCollectedEventTargetWithInlineData<ServiceWorkerRegistration>
, public ActiveDOMObject
, public WebServiceWorkerRegistrationProxy
- , public HeapSupplementable<ServiceWorkerRegistration> {
+ , public HeapSupplementable<ServiceWorkerRegistration>
+ , public V8GCRoot {
DEFINE_WRAPPERTYPEINFO();
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(ServiceWorkerRegistration);
USING_GARBAGE_COLLECTED_MIXIN(ServiceWorkerRegistration);

Powered by Google App Engine
This is Rietveld 408576698