diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-03 04:29:57 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-03 04:29:57 +0000 |
commit | d69754f2b9b45a586657e0672ae20c1eb1e8b6e5 (patch) | |
tree | adb093c3e202108d8b1c43fe91896b84c8adf8a4 /chrome/renderer/form_manager.cc | |
parent | a477963978c74bbe743610c72b3cf290baaeb0bd (diff) | |
download | chromium_src-d69754f2b9b45a586657e0672ae20c1eb1e8b6e5.zip chromium_src-d69754f2b9b45a586657e0672ae20c1eb1e8b6e5.tar.gz chromium_src-d69754f2b9b45a586657e0672ae20c1eb1e8b6e5.tar.bz2 |
Reland r43564 with tests disabled.
Attempt to fix the perf regression: remove the code that calls LabelForElement.
TBR=dhollowa
BUG=40306
TEST=none
Review URL: http://codereview.chromium.org/1597005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43569 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/form_manager.cc')
-rw-r--r-- | chrome/renderer/form_manager.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/renderer/form_manager.cc b/chrome/renderer/form_manager.cc index 7c3fa73..7063e97 100644 --- a/chrome/renderer/form_manager.cc +++ b/chrome/renderer/form_manager.cc @@ -58,7 +58,9 @@ void FormManager::WebFormControlElementToFormField( const WebFormControlElement& element, FormField* field) { DCHECK(field); - field->set_label(LabelForElement(element)); + // TODO(jhawkins): LabelForElement. Returning an empty label temporarily to + // diagnose a perf issue. + field->set_label(string16()); field->set_name(element.nameForAutofill()); field->set_form_control_type(element.formControlType()); |