Index: components/autofill/core/browser/autofill_scanner.cc |
diff --git a/components/autofill/core/browser/autofill_scanner.cc b/components/autofill/core/browser/autofill_scanner.cc |
index 418362e4c8cebca9563a8ace2f05fab7ac415a97..c233c1d3ef7c9395d533d6305945846041169c20 100644 |
--- a/components/autofill/core/browser/autofill_scanner.cc |
+++ b/components/autofill/core/browser/autofill_scanner.cc |
@@ -9,8 +9,7 @@ |
namespace autofill { |
-AutofillScanner::AutofillScanner( |
- const std::vector<const AutofillField*>& fields) |
+AutofillScanner::AutofillScanner(std::vector<AutofillField*>& fields) |
: cursor_(fields.begin()), |
saved_cursor_(fields.begin()), |
begin_(fields.begin()), |
@@ -25,7 +24,7 @@ void AutofillScanner::Advance() { |
++cursor_; |
} |
-const AutofillField* AutofillScanner::Cursor() const { |
+AutofillField* AutofillScanner::Cursor() const { |
if (IsEnd()) { |
NOTREACHED(); |
return NULL; |