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