Use PersistentDictionary to store web perferences.

This commit is contained in:
Cheng Zhao 2014-09-09 14:13:21 +08:00
parent 44d3e58ddb
commit 33b94edcf0
4 changed files with 14 additions and 18 deletions

View file

@ -23,7 +23,7 @@ struct Converter<file_dialog::Filter> {
static bool FromV8(v8::Isolate* isolate,
v8::Handle<v8::Value> val,
file_dialog::Filter* out) {
mate::Dictionary dict(isolate);
mate::Dictionary dict;
if (!ConvertFromV8(isolate, val, &dict))
return false;
if (!dict.Get("name", &(out->first)))