This commit is contained in:
klzgrad 2024-05-04 23:49:05 +08:00
parent 742ad8c1b4
commit b639b6b61e

View File

@ -63,7 +63,11 @@ base::Value::Dict GetSwitchesAsValue(const base::CommandLine& cmdline) {
} }
dict.Set(key, std::move(list)); dict.Set(key, std::move(list));
} else { } else {
#if BUILDFLAG(IS_WIN)
dict.Set(key, base::AsStringPiece16(value));
#else
dict.Set(key, value); dict.Set(key, value);
#endif
} }
} }
return dict; return dict;