Index: Source/bindings/v8/ScopedPersistent.h |
diff --git a/Source/bindings/v8/ScopedPersistent.h b/Source/bindings/v8/ScopedPersistent.h |
index faef97d9451ac5489b571cbc877a19310b130814..be41e8744ed8f2536ab381e41956a71a6da3d1a3 100644 |
--- a/Source/bindings/v8/ScopedPersistent.h |
+++ b/Source/bindings/v8/ScopedPersistent.h |
@@ -42,8 +42,8 @@ class ScopedPersistent { |
public: |
ScopedPersistent() { } |
- explicit ScopedPersistent(v8::Handle<T> handle) |
- : m_handle(v8::Isolate::GetCurrent(), handle) |
+ ScopedPersistent(v8::Isolate* isolate, v8::Handle<T> handle) |
+ : m_handle(isolate, handle) |
{ |
} |