| Index: Source/bindings/templates/interface.h
|
| diff --git a/Source/bindings/templates/interface.h b/Source/bindings/templates/interface.h
|
| index 83f52ba40a45c91c1a653b47ee0ff1e86d161ee2..a7b82e597a8b0beda7874e9a9aacc3a7263a5d30 100644
|
| --- a/Source/bindings/templates/interface.h
|
| +++ b/Source/bindings/templates/interface.h
|
| @@ -61,7 +61,8 @@ public:
|
| {% endif %}
|
| static void refObject(ScriptWrappable*);
|
| static void derefObject(ScriptWrappable*);
|
| - static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable)
|
| + template<typename VisitorDispatcher>
|
| + static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)
|
| {
|
| {% if gc_type == 'GarbageCollectedObject' %}
|
| visitor->trace(scriptWrappable->toImpl<{{cpp_class}}>());
|
|
|