Index: third_party/WebKit/Source/bindings/templates/callback_interface.cpp.tmpl |
diff --git a/third_party/WebKit/Source/bindings/templates/callback_interface.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/callback_interface.cpp.tmpl |
index c417aaa13010a71a7cf191e88763c26a058ce605..e3086434b4f8ff97ef1aec9db449c285ec215bdd 100644 |
--- a/third_party/WebKit/Source/bindings/templates/callback_interface.cpp.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/callback_interface.cpp.tmpl |
@@ -26,8 +26,8 @@ DEFINE_TRACE({{v8_class}}) { |
if method.idl_type == 'boolean' else 'return' %}{# void #} |
ExecutionContext* executionContext = |
ExecutionContext::From(m_scriptState.Get()); |
- if (!executionContext || executionContext->IsContextSuspended() || |
- executionContext->IsContextDestroyed()) |
+ DCHECK(!executionContext->IsContextSuspended()); |
+ if (!executionContext || executionContext->IsContextDestroyed()) |
{{return_default}}; |
if (!m_scriptState->ContextIsValid()) |
{{return_default}}; |