Index: chrome/browser/autofill/autofill_manager_unittest.cc |
diff --git a/chrome/browser/autofill/autofill_manager_unittest.cc b/chrome/browser/autofill/autofill_manager_unittest.cc |
index ffaa5363bd474b6bdd9a844c05db7ade904b862c..f68976e802710312d36d0d58732d9687420ac193 100644 |
--- a/chrome/browser/autofill/autofill_manager_unittest.cc |
+++ b/chrome/browser/autofill/autofill_manager_unittest.cc |
@@ -183,7 +183,7 @@ void CreateTestAddressFormData(FormData* form) { |
form->fields.push_back(field); |
} |
-// Populates |form| with data corresponding to a simple credit card form, with. |
+// Populates |form| with data corresponding to a simple credit card form. |
// Note that this actually appends fields to the form data, which can be useful |
// for building up more complex test forms. |
void CreateTestCreditCardFormData(FormData* form, bool is_https) { |
@@ -370,13 +370,9 @@ class TestAutoFillManager : public AutoFillManager { |
public: |
TestAutoFillManager(TabContents* tab_contents, |
TestPersonalDataManager* personal_manager) |
- : AutoFillManager(tab_contents, NULL), |
+ : AutoFillManager(tab_contents, personal_manager), |
autofill_enabled_(true) { |
test_personal_data_ = personal_manager; |
- set_personal_data_manager(personal_manager); |
- // Download manager requests are disabled for purposes of this unit test. |
- // These requests are tested in autofill_download_unittest.cc. |
- set_disable_download_manager_requests(true); |
} |
virtual bool IsAutoFillEnabled() const { return autofill_enabled_; } |