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

Unified Diff: Source/bindings/v8/ScriptState.cpp

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/ScriptState.cpp
diff --git a/Source/bindings/v8/ScriptState.cpp b/Source/bindings/v8/ScriptState.cpp
index d035014194227fe90ce5d69cbd8b9a5e4260ec57..166fea7345edd76c84d6dec6b3f0d806f1236d08 100644
--- a/Source/bindings/v8/ScriptState.cpp
+++ b/Source/bindings/v8/ScriptState.cpp
@@ -44,7 +44,7 @@
namespace WebCore {
ScriptState::ScriptState(v8::Handle<v8::Context> context)
- : m_context(context)
+ : m_context(context->GetIsolate(), context)
, m_isolate(context->GetIsolate())
{
m_context.makeWeak(this, &makeWeakCallback);

Powered by Google App Engine
This is Rietveld 408576698