chore: fix typos in comments (#29401)

This commit is contained in:
David Sanders
2021-05-31 18:42:38 -07:00
committed by GitHub
parent 93c9374e95
commit 038359a7d8
4 changed files with 5 additions and 5 deletions

View File

@@ -387,7 +387,7 @@ void WebRequest::SetListener(Event event,
std::set<std::string> filter_patterns;
gin::Dictionary dict(args->isolate());
if (args->GetNext(&arg) && !arg->IsFunction()) {
// Note that gin treats Function as Dictionary when doing convertions, so we
// Note that gin treats Function as Dictionary when doing conversions, so we
// have to explicitly check if the argument is Function before trying to
// convert it to Dictionary.
if (gin::ConvertFromV8(args->isolate(), arg, &dict)) {