Chromium Code Reviews| Index: third_party/WebKit/Source/bindings/core/v8/DOMWrapperMap.h |
| diff --git a/third_party/WebKit/Source/bindings/core/v8/DOMWrapperMap.h b/third_party/WebKit/Source/bindings/core/v8/DOMWrapperMap.h |
| index 33da4180d18c9081f312c987c3e2c7627cffd726..ff044644aeed2bf695240b215e20289c82609c6d 100644 |
| --- a/third_party/WebKit/Source/bindings/core/v8/DOMWrapperMap.h |
| +++ b/third_party/WebKit/Source/bindings/core/v8/DOMWrapperMap.h |
| @@ -93,6 +93,11 @@ public: |
| m_map.Remove(key); |
| } |
| + void markWrapper(KeyType* object) |
| + { |
| + m_map.RegisterExternallyReferencedObject(object); |
|
haraken
2016/04/18 04:35:41
I'm okay with this, but it would be nicer if all c
Marcel Hlopko
2016/04/18 11:45:34
I don't think we can unify this elegantly, the map
|
| + } |
| + |
| private: |
| class PersistentValueMapTraits { |
| STATIC_ONLY(PersistentValueMapTraits); |