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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIAccess.h

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (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/webmidi/MIDIAccess.h
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h b/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h
index 32b81a71edafc6f891d45b059417f600c03d5755..11a7a47036c0785654886e3330a1e7f2ed48f638 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIAccess.h
@@ -33,7 +33,7 @@
#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "bindings/core/v8/ScriptPromise.h"
-#include "core/dom/ActiveDOMObject.h"
+#include "core/dom/SuspendableObject.h"
#include "media/midi/midi_service.mojom-blink.h"
#include "modules/EventTargetModules.h"
#include "modules/webmidi/MIDIAccessInitializer.h"
@@ -53,7 +53,7 @@ class MIDIOutputMap;
class MIDIAccess final : public EventTargetWithInlineData,
public ActiveScriptWrappable,
- public ActiveDOMObject,
+ public SuspendableObject,
public MIDIAccessorClient {
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(MIDIAccess);
@@ -85,13 +85,13 @@ class MIDIAccess final : public EventTargetWithInlineData,
return EventTargetNames::MIDIAccess;
}
ExecutionContext* getExecutionContext() const override {
- return ActiveDOMObject::getExecutionContext();
+ return SuspendableObject::getExecutionContext();
}
// ScriptWrappable
bool hasPendingActivity() const final;
- // ActiveDOMObject
+ // SuspendableObject
void contextDestroyed() override;
// MIDIAccessorClient

Powered by Google App Engine
This is Rietveld 408576698