| Index: third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp b/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| index bd905924c1fe7ed0944b95442e4256a6a7ac80c4..c5226b152dd05baaba5ee5986703f0d1dbfdcc0f 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationRequest.cpp
|
| @@ -101,8 +101,7 @@ void PresentationRequest::addedEventListener(
|
| }
|
|
|
| bool PresentationRequest::hasPendingActivity() const {
|
| - if (!getExecutionContext() ||
|
| - getExecutionContext()->activeDOMObjectsAreStopped())
|
| + if (!getExecutionContext() || getExecutionContext()->isContextDestroyed())
|
| return false;
|
|
|
| // Prevents garbage collecting of this object when not hold by another
|
|
|