fix: -Wunsafe-buffer-usage warnings in IsUrlArg() (#43477)
* fix: -Wunsafe-buffer-usage warnings in IsUrlArg() * chore: improve code comments for CheckCommandLineArguments() * chore: reduce diffs from main * refactor: CheckCommandLineArguments takes a StringVector arg Fixes another buffer warning!
This commit is contained in:
parent
90ba2df4fa
commit
b42c0ae00d
3 changed files with 30 additions and 31 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
namespace electron {
|
||||
|
||||
bool CheckCommandLineArguments(int argc, base::CommandLine::CharType** argv);
|
||||
bool CheckCommandLineArguments(const base::CommandLine::StringVector& argv);
|
||||
bool IsSandboxEnabled(base::CommandLine* command_line);
|
||||
|
||||
} // namespace electron
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue