Index: Source/bindings/core/v8/ScopedPersistent.h |
diff --git a/Source/bindings/core/v8/ScopedPersistent.h b/Source/bindings/core/v8/ScopedPersistent.h |
index 25856145ec8fa79b36a14169a981605c0aebe3d8..270d60e470eb81d6a1fac5d1961659200900b3b8 100644 |
--- a/Source/bindings/core/v8/ScopedPersistent.h |
+++ b/Source/bindings/core/v8/ScopedPersistent.h |
@@ -84,6 +84,11 @@ public: |
m_handle.Reset(); |
} |
+ void setReference(const v8::Persistent<v8::Object>& parent, v8::Isolate* isolate) |
+ { |
+ isolate->SetReference(parent, m_handle); |
+ } |
+ |
bool operator==(const ScopedPersistent<T>& other) |
{ |
return m_handle == other.m_handle; |