fix oops
This commit is contained in:
parent
09a2c80443
commit
1106cde687
1 changed files with 2 additions and 2 deletions
|
@ -1388,7 +1388,7 @@ bool IsBlacklistedArg(const base::CommandLine::CharType* arg) {
|
|||
a += prefix_length;
|
||||
std::string switch_name =
|
||||
base::ToLowerASCII(base::StringPiece(a, strcspn(a, "=")));
|
||||
return std::lower_bound(std::begin(kBlacklist), std::end(kBlacklist),
|
||||
return std::binary_search(std::begin(kBlacklist), std::end(kBlacklist),
|
||||
switch_name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue