chore: remove duplicate option get for CustomScheme (#29422)

This commit is contained in:
David Sanders 2021-06-01 01:47:12 -07:00 committed by GitHub
parent 0444d74830
commit a1a649c0d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,6 @@ struct Converter<CustomScheme> {
// options are optional. Default values specified in SchemeOptions are used // options are optional. Default values specified in SchemeOptions are used
if (dict.Get("privileges", &opt)) { if (dict.Get("privileges", &opt)) {
opt.Get("standard", &(out->options.standard)); opt.Get("standard", &(out->options.standard));
opt.Get("supportFetchAPI", &(out->options.supportFetchAPI));
opt.Get("secure", &(out->options.secure)); opt.Get("secure", &(out->options.secure));
opt.Get("bypassCSP", &(out->options.bypassCSP)); opt.Get("bypassCSP", &(out->options.bypassCSP));
opt.Get("allowServiceWorkers", &(out->options.allowServiceWorkers)); opt.Get("allowServiceWorkers", &(out->options.allowServiceWorkers));