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

Unified Diff: Source/core/inspector/JavaScriptCallFrame.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/core/inspector/JavaScriptCallFrame.cpp
diff --git a/Source/core/inspector/JavaScriptCallFrame.cpp b/Source/core/inspector/JavaScriptCallFrame.cpp
index 00a04646f6d60aadcf20d9e95950552fbffe0fc0..abc5d83f2ad771ec37a430a6194c356846622d46 100644
--- a/Source/core/inspector/JavaScriptCallFrame.cpp
+++ b/Source/core/inspector/JavaScriptCallFrame.cpp
@@ -36,9 +36,9 @@
namespace WebCore {
JavaScriptCallFrame::JavaScriptCallFrame(v8::Handle<v8::Context> debuggerContext, v8::Handle<v8::Object> callFrame)
- : m_debuggerContext(debuggerContext)
- , m_callFrame(callFrame)
- , m_isolate(v8::Isolate::GetCurrent())
+ : m_isolate(v8::Isolate::GetCurrent())
+ , m_debuggerContext(m_isolate, debuggerContext)
+ , m_callFrame(m_isolate, callFrame)
{
ScriptWrappable::init(this);
}

Powered by Google App Engine
This is Rietveld 408576698