Chromium Code Reviews| 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..0a3b4de0bb1987ce3d3acbe7b8580737206458ac 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* getHeader(ScriptWrappable* scriptWrappable) |
|
haraken
2016/06/06 10:49:50
getHeader => getHeapObjectHeader
|
| { |
| - visitor->traceWrappers(scriptWrappable->toImpl<{{cpp_class}}>()); |
| + return HeapObjectHeader::fromPayload(scriptWrappable->toImpl<{{cpp_class}}>()); |
| } |
| template<typename VisitorDispatcher> |
| static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable) |