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

Unified Diff: Source/bindings/v8/ScheduledAction.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/ScheduledAction.cpp
diff --git a/Source/bindings/v8/ScheduledAction.cpp b/Source/bindings/v8/ScheduledAction.cpp
index 198cb87ef3649608c7d277c9ebc8ccc12d7f06d8..e4780f8a1c4f9f82fcf89132b5450f6adba99443 100644
--- a/Source/bindings/v8/ScheduledAction.cpp
+++ b/Source/bindings/v8/ScheduledAction.cpp
@@ -46,8 +46,8 @@
namespace WebCore {
ScheduledAction::ScheduledAction(v8::Handle<v8::Context> context, v8::Handle<v8::Function> function, int argc, v8::Handle<v8::Value> argv[], v8::Isolate* isolate)
- : m_context(context)
- , m_function(function)
+ : m_context(isolate, context)
+ , m_function(isolate, function)
, m_code(String(), KURL(), TextPosition::belowRangePosition())
, m_isolate(isolate)
{
@@ -57,7 +57,7 @@ ScheduledAction::ScheduledAction(v8::Handle<v8::Context> context, v8::Handle<v8:
}
ScheduledAction::ScheduledAction(v8::Handle<v8::Context> context, const String& code, const KURL& url, v8::Isolate* isolate)
- : m_context(context)
+ : m_context(isolate, context)
, m_code(code, url)
, m_isolate(isolate)
{

Powered by Google App Engine
This is Rietveld 408576698