Index: third_party/WebKit/Source/platform/heap/WrapperVisitor.h |
diff --git a/third_party/WebKit/Source/platform/heap/WrapperVisitor.h b/third_party/WebKit/Source/platform/heap/WrapperVisitor.h |
index a8348bde358dee20dd57ff80c744b73b38c344d3..f70edd88ef3f79f046a14a13e97a91896adf3533 100644 |
--- a/third_party/WebKit/Source/platform/heap/WrapperVisitor.h |
+++ b/third_party/WebKit/Source/platform/heap/WrapperVisitor.h |
@@ -115,6 +115,12 @@ public: |
traceWrappers(t.get()); |
} |
+ template<typename T> |
+ void traceWrappers(const WeakMember<T>& t) const |
+ { |
+ traceWrappers(t.get()); |
+ } |
+ |
virtual void traceWrappers(const ScopedPersistent<v8::Value>* persistent) const = 0; |
virtual void traceWrappers(const ScopedPersistent<v8::Object>* persistent) const = 0; |
virtual void markWrapper(const v8::PersistentBase<v8::Object>* persistent) const = 0; |