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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBTransaction.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/indexeddb/IDBTransaction.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h
index 5a0cda515079b04ff058343235705ca1d776c98f..86ce1401b4c5bfb8917962a4a53d6045887e0500 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h
@@ -27,6 +27,7 @@
#define IDBTransaction_h
#include "bindings/core/v8/ScriptState.h"
+#include "bindings/core/v8/V8GCRoot.h"
#include "core/dom/ActiveDOMObject.h"
#include "core/events/EventListener.h"
#include "modules/EventModules.h"
@@ -50,7 +51,8 @@ struct IDBObjectStoreMetadata;
class MODULES_EXPORT IDBTransaction final
: public RefCountedGarbageCollectedEventTargetWithInlineData<IDBTransaction>
- , public ActiveDOMObject {
+ , public ActiveDOMObject
+ , public V8GCRoot {
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(IDBTransaction);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(IDBTransaction);
DEFINE_WRAPPERTYPEINFO();

Powered by Google App Engine
This is Rietveld 408576698