diff --git a/atom/common/native_mate_converters/value_converter.cc b/atom/common/native_mate_converters/value_converter.cc index 252c4c2abcb4..65d47b2af8c4 100644 --- a/atom/common/native_mate_converters/value_converter.cc +++ b/atom/common/native_mate_converters/value_converter.cc @@ -40,7 +40,8 @@ bool Converter::FromV8(v8::Isolate* isolate, v8::Handle Converter::ToV8( v8::Isolate* isolate, const base::ListValue& val) { - return v8::Undefined(isolate); + scoped_ptr converter(new atom::V8ValueConverter); + return converter->ToV8Value(&val, isolate->GetCurrentContext()); } } // namespace mate