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

Unified Diff: Source/bindings/core/v8/V8ValueCache.cpp

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/V8ValueCache.cpp
diff --git a/Source/bindings/core/v8/V8ValueCache.cpp b/Source/bindings/core/v8/V8ValueCache.cpp
index 9e8f615e9ce185810b602c6e9443e6a6ee8f3afb..c9828aa16e708c2475382db926d4d0498f8824fe 100644
--- a/Source/bindings/core/v8/V8ValueCache.cpp
+++ b/Source/bindings/core/v8/V8ValueCache.cpp
@@ -32,7 +32,7 @@
namespace blink {
StringCacheMapTraits::MapType* StringCacheMapTraits::MapFromWeakCallbackData(
- const v8::WeakCallbackData<v8::String, WeakCallbackDataType>& data)
+ const v8::PhantomCallbackData<WeakCallbackDataType>& data)
{
return &(V8PerIsolateData::from(data.GetIsolate())->stringCache()->m_stringCache);
}
« Source/bindings/core/v8/ScriptWrappable.h ('K') | « Source/bindings/core/v8/V8ValueCache.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698