mirror of
https://github.com/electron/electron.git
synced 2026-01-24 23:08:10 -05:00
Fix converting ListValue to V8
This commit is contained in:
@@ -40,7 +40,8 @@ bool Converter<base::ListValue>::FromV8(v8::Isolate* isolate,
|
||||
v8::Handle<v8::Value> Converter<base::ListValue>::ToV8(
|
||||
v8::Isolate* isolate,
|
||||
const base::ListValue& val) {
|
||||
return v8::Undefined(isolate);
|
||||
scoped_ptr<atom::V8ValueConverter> converter(new atom::V8ValueConverter);
|
||||
return converter->ToV8Value(&val, isolate->GetCurrentContext());
|
||||
}
|
||||
|
||||
} // namespace mate
|
||||
|
||||
Reference in New Issue
Block a user