| Index: content/browser/accessibility/android_granularity_movement_browsertest.cc
|
| diff --git a/content/browser/accessibility/android_granularity_movement_browsertest.cc b/content/browser/accessibility/android_granularity_movement_browsertest.cc
|
| index 392c26289bc936417edc5673b0ee5e582a51cd99..6ddf830423ed64675cae93d9663957380b98e813 100644
|
| --- a/content/browser/accessibility/android_granularity_movement_browsertest.cc
|
| +++ b/content/browser/accessibility/android_granularity_movement_browsertest.cc
|
| @@ -91,7 +91,8 @@ class AndroidGranularityMovementBrowserTest : public ContentBrowserTest {
|
| int len = (granularity == GRANULARITY_CHARACTER) ?
|
| 1 : end_index - start_index;
|
| base::string16 selection = text.substr(start_index, len);
|
| - if (base::EndsWith(selection, base::ASCIIToUTF16("\n"), false))
|
| + if (base::EndsWith(selection, base::ASCIIToUTF16("\n"),
|
| + base::CompareCase::INSENSITIVE_ASCII))
|
| selection.erase(selection.size() - 1);
|
| if (!selection.empty()) {
|
| if (!concatenated.empty())
|
| @@ -116,7 +117,8 @@ class AndroidGranularityMovementBrowserTest : public ContentBrowserTest {
|
| int len = (granularity == GRANULARITY_CHARACTER) ?
|
| 1 : end_index - start_index;
|
| base::string16 selection = text.substr(start_index, len);
|
| - if (base::EndsWith(selection, base::ASCIIToUTF16("\n"), false))
|
| + if (base::EndsWith(selection, base::ASCIIToUTF16("\n"),
|
| + base::CompareCase::INSENSITIVE_ASCII))
|
| selection = selection.substr(0, selection.size() - 1);
|
| if (!reverse.empty())
|
| reverse = base::ASCIIToUTF16(", ") + reverse;
|
|
|