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 ecf618e362ab4a4ebc7ca4369ceabf67c2288b65..1ce54c3f62f68e614383c215cbbf744f76d454ec 100644 |
--- a/third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl |
+++ b/third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl |
@@ -22,6 +22,11 @@ DEFINE_TRACE({{cpp_class}}) |
{ |
} |
+DEFINE_TRACE_WRAPPERS({{cpp_class}}) |
+{ |
+ visitor->traceWrappers(&m_callback.cast<v8::Object>()); |
+} |
+ |
bool {{cpp_class}}::call({{argument_declarations | join(', ')}}) |
{ |
if (!scriptState->contextIsValid()) |