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 a8b4c08e55c7f6ce015747d08fb4779472ca42a7..a822c75579a651582062338517e8e231e79e13b8 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface.h |
+++ b/third_party/WebKit/Source/bindings/templates/interface.h |
@@ -62,9 +62,9 @@ public: |
{% else %} |
{{exported}}static const WrapperTypeInfo wrapperTypeInfo; |
{% endif %} |
- static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable) |
+ static HeapObjectHeader* getHeapObjectHeader(ScriptWrappable* scriptWrappable) |
{ |
- visitor->traceWrappers(scriptWrappable->toImpl<{{cpp_class}}>()); |
+ return HeapObjectHeader::fromPayload(scriptWrappable->toImpl<{{cpp_class}}>()); |
} |
template<typename VisitorDispatcher> |
static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable) |