Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Unified Diff: chrome/browser/autofill/autofill_field.h

Issue 6673079: Reduce boxing and unboxing of AutofillFieldType (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/autofill_common_test.cc ('k') | chrome/browser/autofill/autofill_field.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_field.h
diff --git a/chrome/browser/autofill/autofill_field.h b/chrome/browser/autofill/autofill_field.h
index 6542ebbd0b53303855577a0a0471e3d4c3936d31..9eb77c84783ba7fb812da1ec061f001ee941720d 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;
}
« no previous file with comments | « chrome/browser/autofill/autofill_common_test.cc ('k') | chrome/browser/autofill/autofill_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698