| Index: chrome/browser/autofill/phone_field.cc
|
| diff --git a/chrome/browser/autofill/phone_field.cc b/chrome/browser/autofill/phone_field.cc
|
| index 58a7fc885a0d7b4d0f0c8fdf1980b5c507cba131..064dfc62663d1ff4c2b628bf0ab5dca5919da456 100644
|
| --- a/chrome/browser/autofill/phone_field.cc
|
| +++ b/chrome/browser/autofill/phone_field.cc
|
| @@ -263,7 +263,6 @@ bool PhoneField::ParseInternal(PhoneField *phone_field,
|
|
|
| for (size_t i = 0; i < arraysize(phone_field_grammars_); ++i) {
|
| memset(parsed_fields, 0, sizeof(parsed_fields));
|
| - scanner->Rewind();
|
| scanner->SaveCursor();
|
|
|
| // Attempt to parse according to the next grammar.
|
| @@ -300,6 +299,8 @@ bool PhoneField::ParseInternal(PhoneField *phone_field,
|
| scanner->Rewind();
|
| return false; // Tried through all the possibilities - did not match.
|
| }
|
| +
|
| + scanner->Rewind();
|
| }
|
|
|
| if (!parsed_fields[FIELD_PHONE]) {
|
|
|