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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp

Issue 2587913002: Rename activeDOMObjectsAreSuspended to isContextSuspended (Closed)
Patch Set: temp 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/core/VoidCallbackFunction.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp
index 8af8e078a7a96c633ccdceec08ff4dfef3ac0d97..0ac97311f31812cc526b1cde12a3e67804ebb06a 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/VoidCallbackFunction.cpp
@@ -39,7 +39,7 @@ bool VoidCallbackFunction::call(ScriptWrappable* scriptWrappable) {
ExecutionContext* context = m_scriptState->getExecutionContext();
DCHECK(context);
- if (context->activeDOMObjectsAreSuspended() || context->isContextDestroyed())
+ if (context->isContextSuspended() || context->isContextDestroyed())
return false;
if (m_callback.isEmpty())

Powered by Google App Engine
This is Rietveld 408576698