Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: Source/bindings/core/v8/V8PersistentValueMap.h

Issue 806693004: Use new phantom handles for ScriptWrappable. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Start using V8 phantom handles in Blink Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/core/v8/V8PersistentValueMap.h
diff --git a/Source/bindings/core/v8/V8PersistentValueMap.h b/Source/bindings/core/v8/V8PersistentValueMap.h
index 12d9579528de9aef10b6986473970e4198d08495..cc1c61b62a12a83ab45598b246fc341c1b2faa2a 100644
--- a/Source/bindings/core/v8/V8PersistentValueMap.h
+++ b/Source/bindings/core/v8/V8PersistentValueMap.h
@@ -48,6 +48,7 @@ namespace blink {
template<class KeyType, class ValueType, bool is_weak>
class V8PersistentValueMapTraits {
public:
+ static const bool kUseSetWeak = true;
// Map traits:
typedef HashMap<KeyType, v8::PersistentContainerValue> Impl;
typedef typename Impl::iterator Iterator;

Powered by Google App Engine
This is Rietveld 408576698