[SVACE] Fix out of range exception error 48/190748/2 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.022758 accepted/tizen/unified/20181011.095046 submit/tizen/20181010.103617 submit/tizen_5.0/20181101.000005
authork2.nagaraju <k2.nagaraju@samsung.com>
Fri, 5 Oct 2018 05:25:02 +0000 (10:55 +0530)
committerjaekuk lee <juku1999@samsung.com>
Wed, 10 Oct 2018 00:56:49 +0000 (00:56 +0000)
Change-Id: I6d097c11a1bf64126d6b4212a91b2bbee963c2a7
Signed-off-by: k2.nagaraju <k2.nagaraju@samsung.com>
extensions/renderer/xwalk_extension_module.cc

index c222556..fa691dc 100644 (file)
@@ -86,8 +86,8 @@ XWalkExtensionModule::~XWalkExtensionModule() {
   // the iframe), even if we destroy the references we have.
   v8::Handle<v8::Object> function_data =
       v8::Local<v8::Object>::New(isolate, function_data_);
-  function_data->Delete(v8::String::NewFromUtf8(isolate,
-                                                kXWalkExtensionModule));
+  function_data.As<v8::Object>()->Delete(v8::String::NewFromUtf8(isolate,
+                                             kXWalkExtensionModule));
 
   object_template_.Reset();
   function_data_.Reset();