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

Unified Diff: Source/bindings/v8/ScopedPersistent.h

Issue 23601032: Pass isolate to ScopedPersistent constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update deprecated generator as well Created 7 years, 3 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/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)
{
}

Powered by Google App Engine
This is Rietveld 408576698