| Index: Source/bindings/templates/callback_interface.cpp
|
| diff --git a/Source/bindings/templates/callback_interface.cpp b/Source/bindings/templates/callback_interface.cpp
|
| index 2a4796c773152ed51552191217a57eb89f5c290a..18e89dee99dbe92abad84ed9c2ca15fd41c53a72 100644
|
| --- a/Source/bindings/templates/callback_interface.cpp
|
| +++ b/Source/bindings/templates/callback_interface.cpp
|
| @@ -33,7 +33,7 @@ namespace blink {
|
| if (!canInvokeCallback())
|
| {{return_default}};
|
|
|
| - if (m_scriptState->contextIsValid())
|
| + if (!m_scriptState->contextIsValid())
|
| {{return_default}};
|
|
|
| ScriptState::Scope scope(m_scriptState.get());
|
|
|