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

Unified Diff: third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp

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
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIPort.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp
index e1cfb14a1f518a8bdd00d0d560f0a05a1b523afe..097876b18b46f41d469cafce96c548ec0b9b6394 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIPort.cpp
@@ -46,7 +46,7 @@ MIDIPort::MIDIPort(MIDIAccess* access,
TypeCode type,
const String& version,
PortState state)
- : SuspendableObject(access->getExecutionContext()),
+ : ContextLifecycleObserver(access->getExecutionContext()),
m_id(id),
m_manufacturer(manufacturer),
m_name(name),
@@ -163,7 +163,7 @@ void MIDIPort::contextDestroyed() {
DEFINE_TRACE(MIDIPort) {
visitor->trace(m_access);
EventTargetWithInlineData::trace(visitor);
- SuspendableObject::trace(visitor);
+ ContextLifecycleObserver::trace(visitor);
}
DEFINE_TRACE_WRAPPERS(MIDIPort) {
« no previous file with comments | « third_party/WebKit/Source/modules/webmidi/MIDIPort.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698