Use PersistentDictionary to store web perferences.
This commit is contained in:
parent
44d3e58ddb
commit
33b94edcf0
4 changed files with 14 additions and 18 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue