Fix converting ListValue to V8
This commit is contained in:
parent
6a11eccc3e
commit
f6f5ff4330
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue