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

Unified Diff: third_party/WebKit/Source/modules/push_messaging/PushPermissionStatusCallbacks.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/push_messaging/PushPermissionStatusCallbacks.cpp
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushPermissionStatusCallbacks.cpp b/third_party/WebKit/Source/modules/push_messaging/PushPermissionStatusCallbacks.cpp
index 1afd8c5e014d80fb3548414ea37def0cf6495d39..8034559d1d1dec831f77b3ca248dfcde2c28ed00 100644
--- a/third_party/WebKit/Source/modules/push_messaging/PushPermissionStatusCallbacks.cpp
+++ b/third_party/WebKit/Source/modules/push_messaging/PushPermissionStatusCallbacks.cpp
@@ -23,7 +23,7 @@ void PushPermissionStatusCallbacks::onSuccess(WebPushPermissionStatus status) {
void PushPermissionStatusCallbacks::onError(const WebPushError& error) {
if (!m_resolver->getExecutionContext() ||
- m_resolver->getExecutionContext()->activeDOMObjectsAreStopped())
+ m_resolver->getExecutionContext()->isContextDestroyed())
return;
m_resolver->reject(PushError::take(m_resolver.get(), error));
}

Powered by Google App Engine
This is Rietveld 408576698