| Index: third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl
|
| index adb8f8277e2bea5d931240db7e17717c1559e28b..9ef2ca6cafdd712a02c54636e3b865104ad8cb9f 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl
|
| @@ -29,7 +29,7 @@ bool {{cpp_class}}::call({{argument_declarations | join(', ')}}) {
|
|
|
| ExecutionContext* context = m_scriptState->getExecutionContext();
|
| DCHECK(context);
|
| - if (context->activeDOMObjectsAreSuspended() || context->activeDOMObjectsAreStopped())
|
| + if (context->activeDOMObjectsAreSuspended() || context->isContextDestroyed())
|
| return false;
|
|
|
| if (m_callback.isEmpty())
|
|
|