Commit bc7a3fcd authored by mlcui's avatar mlcui Committed by Chromium LUCI CQ

Fix typo in string_util.h

Bug: None
Change-Id: If4f49fc247f9d5086b370a12e2c441f5660567c0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2633484Reviewed-by: default avatarMark Mentovai <mark@chromium.org>
Commit-Queue: Michael Cui <mlcui@google.com>
Cr-Commit-Position: refs/heads/master@{#844443}
parent 7a905f71
...@@ -291,9 +291,9 @@ BASE_EXPORT bool IsStringASCII(WStringPiece str); ...@@ -291,9 +291,9 @@ BASE_EXPORT bool IsStringASCII(WStringPiece str);
// Compare the lower-case form of the given string against the given // Compare the lower-case form of the given string against the given
// previously-lower-cased ASCII string (typically a constant). // previously-lower-cased ASCII string (typically a constant).
BASE_EXPORT bool LowerCaseEqualsASCII(StringPiece str, BASE_EXPORT bool LowerCaseEqualsASCII(StringPiece str,
StringPiece lowecase_ascii); StringPiece lowercase_ascii);
BASE_EXPORT bool LowerCaseEqualsASCII(StringPiece16 str, BASE_EXPORT bool LowerCaseEqualsASCII(StringPiece16 str,
StringPiece lowecase_ascii); StringPiece lowercase_ascii);
// Performs a case-sensitive string compare of the given 16-bit string against // Performs a case-sensitive string compare of the given 16-bit string against
// the given 8-bit ASCII string (typically a constant). The behavior is // the given 8-bit ASCII string (typically a constant). The behavior is
......
...@@ -167,7 +167,7 @@ BASE_EXPORT std::wstring CollapseWhitespace( ...@@ -167,7 +167,7 @@ BASE_EXPORT std::wstring CollapseWhitespace(
BASE_EXPORT bool ContainsOnlyChars(WStringPiece input, WStringPiece characters); BASE_EXPORT bool ContainsOnlyChars(WStringPiece input, WStringPiece characters);
BASE_EXPORT bool LowerCaseEqualsASCII(WStringPiece str, BASE_EXPORT bool LowerCaseEqualsASCII(WStringPiece str,
StringPiece lowecase_ascii); StringPiece lowercase_ascii);
BASE_EXPORT bool EqualsASCII(StringPiece16 str, StringPiece ascii); BASE_EXPORT bool EqualsASCII(StringPiece16 str, StringPiece ascii);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment