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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.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/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp b/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
index 85c2439aab2cb312b16c1c8a6fd8f14e687ba8e5..129e493d23098c12e93c7204acd7355993286f8d 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
+++ b/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
@@ -222,11 +222,11 @@ void MediaKeySystemAccessInitializer::requestNotSupported(
}
bool MediaKeySystemAccessInitializer::isExecutionContextValid() const {
- // activeDOMObjectsAreStopped() is called to see if the context is in the
+ // isContextDestroyed() 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 context && !context->isContextDestroyed();
}
void MediaKeySystemAccessInitializer::checkVideoCapabilityRobustness() const {

Powered by Google App Engine
This is Rietveld 408576698