Index: Source/bindings/v8/V8PerIsolateData.cpp |
diff --git a/Source/bindings/v8/V8PerIsolateData.cpp b/Source/bindings/v8/V8PerIsolateData.cpp |
index 66e36ab87f168b6e0ea32f69e8cc991ad20256cc..38b83da315681d5e8ed4701074e5407812453ddb 100644 |
--- a/Source/bindings/v8/V8PerIsolateData.cpp |
+++ b/Source/bindings/v8/V8PerIsolateData.cpp |
@@ -82,8 +82,11 @@ void V8PerIsolateData::ensureInitialized(v8::Isolate* isolate) |
v8::Persistent<v8::Value> V8PerIsolateData::ensureLiveRoot() |
{ |
- if (m_liveRoot.isEmpty()) |
+ if (m_liveRoot.isEmpty()) { |
m_liveRoot.set(v8::Null()); |
+ v8::UniqueId id(reinterpret_cast<intptr_t>(*(m_liveRoot.get()))); |
+ v8::V8::SetObjectGroupId(m_isolate, m_liveRoot.get(), id); |
+ } |
return m_liveRoot.get(); |
} |