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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.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/IDBDatabase.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
index 2f8127853d629ffffb8db751590991a4302245e8..7c75a91d620e4e15d2b3b629783d4cbf7bcec458 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
@@ -26,6 +26,7 @@
#ifndef IDBDatabase_h
#define IDBDatabase_h
+#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "bindings/core/v8/ScriptState.h"
#include "bindings/modules/v8/UnionTypesModules.h"
#include "core/dom/ActiveDOMObject.h"
@@ -55,6 +56,7 @@ class ExecutionContext;
class MODULES_EXPORT IDBDatabase final
: public RefCountedGarbageCollectedEventTargetWithInlineData<IDBDatabase>
+ , public ActiveScriptWrappable
, public ActiveDOMObject {
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(IDBDatabase);
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(IDBDatabase);
@@ -90,8 +92,10 @@ public:
void onAbort(int64_t, DOMException*);
void onComplete(int64_t);
+ // ActiveScriptWrappable
+ bool hasPendingActivity() const final;
+
// ActiveDOMObject
- bool hasPendingActivity() const override;
void stop() override;
// EventTarget

Powered by Google App Engine
This is Rietveld 408576698