Index: components/autofill/content/renderer/autofill_agent.cc |
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc |
index ee32b19d69c6eec4a2f7c9aeaf9858135e8cd6f4..79542aff2520a500debcf60c29699d73e28d5524 100644 |
--- a/components/autofill/content/renderer/autofill_agent.cc |
+++ b/components/autofill/content/renderer/autofill_agent.cc |
@@ -496,7 +496,7 @@ void AutofillAgent::AcceptDataListSuggestion( |
base::string16 last_part = parts.back(); |
// We want to keep just the leading whitespace. |
for (size_t i = 0; i < last_part.size(); ++i) { |
- if (!IsWhitespace(last_part[i])) { |
+ if (!base::IsUnicodeWhitespace(last_part[i])) { |
last_part = last_part.substr(0, i); |
break; |
} |