summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2016-08-26 17:18:13 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-10-25 12:23:34 -0200
commit611498f0356411f1a8c1f1ae6d94e0bd587d5de4 (patch)
treea37a21167413276bd8619449f54414dca6f30836 /src/bindings
parent6aa4486209056c1457b01b18eb4409daab6310a6 (diff)
ecore_js: Add missing HandleScope to addTimeline
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/js/ecore_js/ecore_js_animator.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings/js/ecore_js/ecore_js_animator.cc b/src/bindings/js/ecore_js/ecore_js_animator.cc
index 322db17..8e2011d 100644
--- a/src/bindings/js/ecore_js/ecore_js_animator.cc
+++ b/src/bindings/js/ecore_js/ecore_js_animator.cc
@@ -477,6 +477,7 @@ void register_animator_timeline_add(v8::Isolate *isolate,
477 v8::Handle<v8::String> name) 477 v8::Handle<v8::String> name)
478{ 478{
479 using v8::Handle; 479 using v8::Handle;
480 using v8::HandleScope;
480 using v8::Local; 481 using v8::Local;
481 using v8::Value; 482 using v8::Value;
482 using v8::Undefined; 483 using v8::Undefined;
@@ -498,6 +499,7 @@ void register_animator_timeline_add(v8::Isolate *isolate,
498 = reinterpret_cast<efl::eina::js::global_ref<Value>*>(data); 499 = reinterpret_cast<efl::eina::js::global_ref<Value>*>(data);
499 auto o = persistent->handle(); 500 auto o = persistent->handle();
500 auto isolate = v8::Isolate::GetCurrent(); 501 auto isolate = v8::Isolate::GetCurrent();
502 HandleScope handle_scope(isolate);
501 503
502 Handle<Value> args = compatibility_new<Number>(isolate, pos); 504 Handle<Value> args = compatibility_new<Number>(isolate, pos);
503 505