| Index: third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| diff --git a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| index 064031f0bd16ee9b61ac4b0454d3ad14f621648a..7e4cc4541ff9783b5c93f0a13f352da78e5ae6fd 100644
|
| --- a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| +++ b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
|
| @@ -201,9 +201,6 @@ String RemotePlayback::state() const {
|
| }
|
|
|
| bool RemotePlayback::hasPendingActivity() const {
|
| - // TODO(haraken): This check should be moved to ActiveScriptWrappable.
|
| - if (getExecutionContext()->isContextDestroyed())
|
| - return false;
|
| return hasEventListeners() || !m_availabilityCallbacks.isEmpty() ||
|
| m_promptPromiseResolver;
|
| }
|
|
|