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 16849bb439fc835c91e3c80b6769293d8077fcb1..f172bbc7ecfced10d4d9c66c65c8218b45f55859 100644 |
--- a/components/autofill/content/renderer/autofill_agent.cc |
+++ b/components/autofill/content/renderer/autofill_agent.cc |
@@ -77,8 +77,10 @@ void GetDataListSuggestions(const blink::WebInputElement& element, |
element.formControlType() == WebString::fromUTF8("email")) { |
std::vector<base::string16> parts; |
base::SplitStringDontTrim(prefix, ',', &parts); |
- if (parts.size() > 0) |
- TrimWhitespace(parts[parts.size() - 1], TRIM_LEADING, &prefix); |
+ if (parts.size() > 0) { |
+ base::TrimWhitespace(parts[parts.size() - 1], base::TRIM_LEADING, |
+ &prefix); |
+ } |
} |
} |
for (WebOptionElement option = options.firstItem().to<WebOptionElement>(); |