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

Unified Diff: Source/bindings/core/v8/DOMWrapperMap.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
« no previous file with comments | « no previous file | Source/bindings/core/v8/DOMWrapperWorld.h » ('j') | Source/bindings/core/v8/ScriptWrappable.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(); }
« no previous file with comments | « no previous file | Source/bindings/core/v8/DOMWrapperWorld.h » ('j') | Source/bindings/core/v8/ScriptWrappable.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698