diff options
author | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 06:26:29 +0000 |
---|---|---|
committer | isherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 06:26:29 +0000 |
commit | 1ffe8e993e3052271b9a60f303bcbb8f3104d80b (patch) | |
tree | b5b01c65813c53fa4279907baa8aa8f1eb5d5480 /chrome/browser/autofill/autofill_field.h | |
parent | daa826fee9fa5a59aa7b4bd82a1c6f2f4ae4a636 (diff) | |
download | chromium_src-1ffe8e993e3052271b9a60f303bcbb8f3104d80b.zip chromium_src-1ffe8e993e3052271b9a60f303bcbb8f3104d80b.tar.gz chromium_src-1ffe8e993e3052271b9a60f303bcbb8f3104d80b.tar.bz2 |
Reduce boxing and unboxing of AutofillFieldType
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/6673079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78518 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill/autofill_field.h')
-rw-r--r-- | chrome/browser/autofill/autofill_field.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/autofill/autofill_field.h b/chrome/browser/autofill/autofill_field.h index 6542ebb..9eb77c8 100644 --- a/chrome/browser/autofill/autofill_field.h +++ b/chrome/browser/autofill/autofill_field.h @@ -26,8 +26,8 @@ class AutofillField : public webkit_glue::FormField { const FieldTypeSet& possible_types() const { return possible_types_; } // Sets the heuristic type of this field, validating the input. - void set_heuristic_type(const AutofillFieldType& type); - void set_server_type(const AutofillFieldType& type) { server_type_ = type; } + void set_heuristic_type(AutofillFieldType type); + void set_server_type(AutofillFieldType type) { server_type_ = type; } void set_possible_types(const FieldTypeSet& possible_types) { possible_types_ = possible_types; } |