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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ActiveDOMCallback.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/CallbackPromiseAdapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ActiveDOMCallback.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ActiveDOMCallback.cpp b/third_party/WebKit/Source/bindings/core/v8/ActiveDOMCallback.cpp
index dfcd7b04b7865561ad097736d570fd5537af82e9..6b80705bb8cab83dd27e12114eef41643a9af766 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ActiveDOMCallback.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ActiveDOMCallback.cpp
@@ -44,7 +44,7 @@ ActiveDOMCallback::~ActiveDOMCallback() {}
bool ActiveDOMCallback::canInvokeCallback() const {
ExecutionContext* context = getExecutionContext();
return context && !context->activeDOMObjectsAreSuspended() &&
- !context->activeDOMObjectsAreStopped();
+ !context->isContextDestroyed();
}
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/CallbackPromiseAdapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698