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 c9ab99fc355ae31630addad4b6cdb4b689759dfb..9ab682ef298360761180e280d39ccea0aa60d5b3 100644 |
--- a/third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl |
@@ -29,6 +29,7 @@ bool {{v8_class}}::call({{argument_declarations | join(', ')}}) |
if (m_callback.isEmpty()) |
return false; |
+ |
ScriptState::Scope scope(scriptState); |
{% for argument in arguments %} |