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

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

Issue 2552993002: Rename activeDOMObjectsAreStopped to isContextDestroyed (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.cpp
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp
index 4c1309cf28c7b25ce2cd62612c9bd7c41bddcf44..3f4ae3780e3414d51e30cceb1e5a17d22a8fc29f 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp
@@ -102,7 +102,7 @@ void MIDIAccess::setOnstatechange(EventListener* listener) {
bool MIDIAccess::hasPendingActivity() const {
return m_hasPendingActivity && getExecutionContext() &&
- !getExecutionContext()->activeDOMObjectsAreStopped();
+ !getExecutionContext()->isContextDestroyed();
}
MIDIInputMap* MIDIAccess::inputs() const {

Powered by Google App Engine
This is Rietveld 408576698