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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h

Issue 2583093002: Reduce SuspendableObjects (Closed)
Patch Set: Created 4 years 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 99cc5da8003627ae28736fad2ae2c6ced113b00a..9eed5d7a0ee9dadd411fc71e49b4bc272387716f 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h
@@ -29,8 +29,8 @@
#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "bindings/core/v8/ScriptState.h"
#include "bindings/modules/v8/StringOrStringSequenceOrDOMStringList.h"
+#include "core/dom/ContextLifecycleObserver.h"
#include "core/dom/DOMStringList.h"
-#include "core/dom/SuspendableObject.h"
#include "modules/EventModules.h"
#include "modules/EventTargetModules.h"
#include "modules/ModulesExport.h"
@@ -58,7 +58,7 @@ struct WebIDBObservation;
class MODULES_EXPORT IDBDatabase final
: public EventTargetWithInlineData,
public ActiveScriptWrappable<IDBDatabase>,
- public SuspendableObject {
+ public ContextLifecycleObserver {
USING_GARBAGE_COLLECTED_MIXIN(IDBDatabase);
DEFINE_WRAPPERTYPEINFO();
@@ -123,7 +123,7 @@ class MODULES_EXPORT IDBDatabase final
// ScriptWrappable
bool hasPendingActivity() const final;
- // SuspendableObject
+ // ContextLifecycleObserver
void contextDestroyed() override;
// EventTarget

Powered by Google App Engine
This is Rietveld 408576698