Index: third_party/WebKit/Source/bindings/templates/interface.h |
diff --git a/third_party/WebKit/Source/bindings/templates/interface.h b/third_party/WebKit/Source/bindings/templates/interface.h |
index 72df2c39d97ae31fb4af9ea5b3c86eede6d0c6bb..8d65ac3d9423bb2c0a776bc071d5b4a1e4626958 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface.h |
+++ b/third_party/WebKit/Source/bindings/templates/interface.h |
@@ -62,15 +62,15 @@ public: |
{% else %} |
{{exported}}static const WrapperTypeInfo wrapperTypeInfo; |
{% endif %} |
- static HeapObjectHeader* getHeapObjectHeader(ScriptWrappable* scriptWrappable) |
- { |
- return HeapObjectHeader::fromPayload(scriptWrappable->toImpl<{{cpp_class}}>()); |
- } |
template<typename VisitorDispatcher> |
static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable) |
{ |
visitor->trace(scriptWrappable->toImpl<{{cpp_class}}>()); |
} |
+ static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable) |
+ { |
+ visitor->traceWrappers(scriptWrappable->toImpl<{{cpp_class}}>()); |
+ } |
{% if has_visit_dom_wrapper %} |
static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persistent<v8::Object>&); |
{% endif %} |