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 b6686c3cb5eb678c7b96f121ea07cdef8f133984..f73e5912deb79ab6a5edfedc389e73908c0eaaeb 100644 |
--- a/components/autofill/content/renderer/autofill_agent.cc |
+++ b/components/autofill/content/renderer/autofill_agent.cc |
@@ -97,9 +97,8 @@ void GetDataListSuggestions(const WebInputElement& element, |
} |
for (WebOptionElement option = options.firstItem().to<WebOptionElement>(); |
!option.isNull(); option = options.nextItem().to<WebOptionElement>()) { |
- if (!StartsWith(option.value(), prefix, false) || |
- option.value() == prefix || |
- !element.isValidValue(option.value())) |
+ if (!base::StartsWith(option.value(), prefix, false) || |
+ option.value() == prefix || !element.isValidValue(option.value())) |
continue; |
values->push_back(option.value()); |