Index: components/autofill/core/common/form_data.h |
diff --git a/components/autofill/core/common/form_data.h b/components/autofill/core/common/form_data.h |
index 28cf62e7b518c3010a78b5bc823a133bea19214c..f52f66d9f4055c017d5c4a3875b271a9d9fd1076 100644 |
--- a/components/autofill/core/common/form_data.h |
+++ b/components/autofill/core/common/form_data.h |
@@ -23,6 +23,9 @@ struct FormData { |
bool operator==(const FormData& form) const; |
bool operator!=(const FormData& form) const; |
+ // Allow FormData to be a key in STL containers. |
+ bool operator<(const FormData& form) const; |
+ |
// The name of the form. |
base::string16 name; |
// GET or POST. |