From: Lauro Moura Date: Fri, 26 Aug 2016 20:18:13 +0000 (-0300) Subject: ecore_js: Add missing HandleScope to addTimeline X-Git-Tag: upstream/1.20.0~3912 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=611498f0356411f1a8c1f1ae6d94e0bd587d5de4;p=platform%2Fupstream%2Fefl.git ecore_js: Add missing HandleScope to addTimeline --- 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, v8::Handle name) { using v8::Handle; + using v8::HandleScope; using v8::Local; using v8::Value; using v8::Undefined; @@ -498,6 +499,7 @@ void register_animator_timeline_add(v8::Isolate *isolate, = reinterpret_cast*>(data); auto o = persistent->handle(); auto isolate = v8::Isolate::GetCurrent(); + HandleScope handle_scope(isolate); Handle args = compatibility_new(isolate, pos);