Use unique_ptr for passing VerifyRequestParams
This commit is contained in:
parent
70178adb6e
commit
1e581d6814
3 changed files with 19 additions and 12 deletions
|
@ -205,9 +205,9 @@ struct Converter<net::ProxyConfig> {
|
|||
};
|
||||
|
||||
template<>
|
||||
struct Converter<atom::VerifyRequest> {
|
||||
struct Converter<atom::VerifyRequestParams> {
|
||||
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate,
|
||||
atom::VerifyRequest val) {
|
||||
atom::VerifyRequestParams val) {
|
||||
mate::Dictionary dict = mate::Dictionary::CreateEmpty(isolate);
|
||||
dict.Set("hostname", val.hostname);
|
||||
dict.Set("certificate", val.certificate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue