summaryrefslogtreecommitdiff
blob: 17f539060f3b03ea4d6e16f2dcafed6acd690503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://chromium.googlesource.com/chromium/src/+/ede390a0b18e4565abf8ac1e1ff717e1d43fc320

--- /components/autofill/core/browser/address_rewriter.cc
+++ /components/autofill/core/browser/address_rewriter.cc
@@ -57,7 +57,7 @@
                           CompiledRuleVector* compiled_rules) {
   base::StringPiece data = data_string;
   re2::RE2::Options options;
-  options.set_utf8(true);
+  options.set_encoding(RE2::Options::EncodingUTF8);
   options.set_word_boundary(true);
 
   size_t token_end = 0;