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 b24fa7578962529a5a9a5d849ffc1ccf32a57656..392c26289bc936417edc5673b0ee5e582a51cd99 100644 |
--- a/content/browser/accessibility/android_granularity_movement_browsertest.cc |
+++ b/content/browser/accessibility/android_granularity_movement_browsertest.cc |
@@ -91,7 +91,7 @@ class AndroidGranularityMovementBrowserTest : public ContentBrowserTest { |
int len = (granularity == GRANULARITY_CHARACTER) ? |
1 : end_index - start_index; |
base::string16 selection = text.substr(start_index, len); |
- if (EndsWith(selection, base::ASCIIToUTF16("\n"), false)) |
+ if (base::EndsWith(selection, base::ASCIIToUTF16("\n"), false)) |
selection.erase(selection.size() - 1); |
if (!selection.empty()) { |
if (!concatenated.empty()) |
@@ -116,7 +116,7 @@ class AndroidGranularityMovementBrowserTest : public ContentBrowserTest { |
int len = (granularity == GRANULARITY_CHARACTER) ? |
1 : end_index - start_index; |
base::string16 selection = text.substr(start_index, len); |
- if (EndsWith(selection, base::ASCIIToUTF16("\n"), false)) |
+ if (base::EndsWith(selection, base::ASCIIToUTF16("\n"), false)) |
selection = selection.substr(0, selection.size() - 1); |
if (!reverse.empty()) |
reverse = base::ASCIIToUTF16(", ") + reverse; |