summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authoretienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-31 05:42:08 +0000
committeretienneb@chromium.org <etienneb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-31 05:42:08 +0000
commitc91318db99cc2806525e831d2c664446e5d04914 (patch)
treee38a0167caee7b93fe5748dadebbfadeff73735d /components
parentc7d340c6ddb0f7fce6b053b2a4a03e7b4542be0f (diff)
downloadchromium_src-c91318db99cc2806525e831d2c664446e5d04914.zip
chromium_src-c91318db99cc2806525e831d2c664446e5d04914.tar.gz
chromium_src-c91318db99cc2806525e831d2c664446e5d04914.tar.bz2
Fix redundancy comparison in IsTextField.
This issue was found by a Linter. R=erikwright@chromium.org,estade@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/20537005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214580 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components')
-rw-r--r--components/autofill/core/browser/autocomplete_history_manager.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/autofill/core/browser/autocomplete_history_manager.cc b/components/autofill/core/browser/autocomplete_history_manager.cc
index 1f57090..171c245 100644
--- a/components/autofill/core/browser/autocomplete_history_manager.cc
+++ b/components/autofill/core/browser/autocomplete_history_manager.cc
@@ -36,8 +36,7 @@ bool IsTextField(const FormFieldData& field) {
field.form_control_type == "search" ||
field.form_control_type == "tel" ||
field.form_control_type == "url" ||
- field.form_control_type == "email" ||
- field.form_control_type == "text";
+ field.form_control_type == "email";
}
} // namespace