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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.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/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp b/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
index e53147cf2dd195abacd763f06753391f8019c076..724d896e0f76f1ece640dd70590cc92886850797 100644
--- a/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/modules/VoidCallbackFunctionModules.cpp
@@ -36,7 +36,7 @@ bool VoidCallbackFunctionModules::call(ScriptWrappable* scriptWrappable) {
ExecutionContext* context = m_scriptState->getExecutionContext();
DCHECK(context);
- if (context->activeDOMObjectsAreSuspended() || context->activeDOMObjectsAreStopped())
+ if (context->activeDOMObjectsAreSuspended() || context->isContextDestroyed())
return false;
if (m_callback.isEmpty())

Powered by Google App Engine
This is Rietveld 408576698