diff --git a/atom/browser/api/atom_api_window.cc b/atom/browser/api/atom_api_window.cc index 65f7841f7658..9b7cb204df3b 100644 --- a/atom/browser/api/atom_api_window.cc +++ b/atom/browser/api/atom_api_window.cc @@ -34,9 +34,8 @@ struct Converter { mate::Dictionary dict; if (!ConvertFromV8(isolate, val, &dict)) return false; - if (!dict.Get("silent", &(out->silent)) || - !dict.Get("printBackground", &(out->print_backgournd))) - return false; + dict.Get("silent", &(out->silent)); + dict.Get("printBackground", &(out->print_backgournd)); return true; } };