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

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

Issue 2433773006: Remove ExecutionContext::activeDOMObjectsAreStopped()
Patch Set: Created 4 years, 2 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/webmidi/MIDIAccess.cpp
diff --git a/third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp b/third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp
index 53fad60fd75bc71ab8470f62c01b3867b7a3df61..fe2543f097cabaa30f9c2a45432e126647e32a47 100644
--- a/third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp
+++ b/third_party/WebKit/Source/modules/webmidi/MIDIAccess.cpp
@@ -88,8 +88,7 @@ void MIDIAccess::setOnstatechange(EventListener* listener) {
}
bool MIDIAccess::hasPendingActivity() const {
- return m_hasPendingActivity && getExecutionContext() &&
- !getExecutionContext()->activeDOMObjectsAreStopped();
+ return m_hasPendingActivity && getExecutionContext();
}
MIDIInputMap* MIDIAccess::inputs() const {

Powered by Google App Engine
This is Rietveld 408576698