| Index: third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
|
| diff --git a/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp b/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
|
| index a81ab3a6a7563331af00c44fecc38c2c9b721519..55b172e47c6f07a03aa09b0559169fc93eabbb86 100644
|
| --- a/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
|
| +++ b/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
|
| @@ -224,11 +224,7 @@ void MediaKeySystemAccessInitializer::requestNotSupported(
|
| }
|
|
|
| bool MediaKeySystemAccessInitializer::isExecutionContextValid() const {
|
| - // activeDOMObjectsAreStopped() is called to see if the context is in the
|
| - // process of being destroyed. If it is true, assume the context is no
|
| - // longer valid as it is about to be destroyed anyway.
|
| - ExecutionContext* context = m_resolver->getExecutionContext();
|
| - return context && !context->activeDOMObjectsAreStopped();
|
| + return m_resolver->getExecutionContext();
|
| }
|
|
|
| void MediaKeySystemAccessInitializer::checkVideoCapabilityRobustness() const {
|
|
|