Index: components/autofill/core/browser/form_field.h |
diff --git a/components/autofill/core/browser/form_field.h b/components/autofill/core/browser/form_field.h |
index d3a127a2488d4deee1577ce1ce993a1626bf3685..2d7dcd7dbf4b3bb638575afb091682565c3b96a3 100644 |
--- a/components/autofill/core/browser/form_field.h |
+++ b/components/autofill/core/browser/form_field.h |
@@ -5,11 +5,11 @@ |
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_FIELD_H_ |
#define COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_FIELD_H_ |
+#include <memory> |
#include <vector> |
#include "base/gtest_prod_util.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/strings/string16.h" |
#include "components/autofill/core/browser/field_candidates.h" |
#include "components/autofill/core/browser/field_types.h" |
@@ -109,7 +109,7 @@ class FormField { |
// Function pointer type for the parsing function that should be passed to the |
// ParseFormFieldsPass() helper function. |
- typedef scoped_ptr<FormField> ParseFunction(AutofillScanner* scanner); |
+ typedef std::unique_ptr<FormField> ParseFunction(AutofillScanner* scanner); |
// Matches |pattern| to the contents of the field at the head of the |
// |scanner|. |