Chromium Code Reviews| Index: Source/bindings/core/v8/DOMWrapperMap.h |
| diff --git a/Source/bindings/core/v8/DOMWrapperMap.h b/Source/bindings/core/v8/DOMWrapperMap.h |
| index 1981647be7e9e951aeb3e737d5b2fe5072bf8278..f38b4f21b60a6875a881c40e2f3ed0eaff392c80 100644 |
| --- a/Source/bindings/core/v8/DOMWrapperMap.h |
| +++ b/Source/bindings/core/v8/DOMWrapperMap.h |
| @@ -92,6 +92,7 @@ private: |
| class PersistentValueMapTraits { |
| public: |
| // Map traits: |
| + static const bool kUseSetWeak = true; |
|
Erik Corry Chromium.org
2015/01/07 16:07:56
This is in preparation for planned changes in V8.
|
| typedef HashMap<KeyType*, v8::PersistentContainerValue> Impl; |
| typedef typename Impl::iterator Iterator; |
| static size_t Size(const Impl* impl) { return impl->size(); } |