| Index: chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
|
| diff --git a/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js b/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
|
| index ce09a25f63ca945253929ec485518ce634ee36ad..c385373b9384bd87de508e167506166b913961ed 100644
|
| --- a/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
|
| +++ b/chrome/test/data/webui/settings/settings_autofill_section_browsertest.js
|
| @@ -126,9 +126,13 @@ SettingsAutofillSectionBrowserTest.prototype = {
|
| * @private
|
| */
|
| createAutofillSection_: function(addresses, creditCards) {
|
| + // Override the AutofillManagerImpl for testing.
|
| + this.autofillManager = new TestAutofillManager();
|
| + this.autofillManager.data.addresses = addresses;
|
| + this.autofillManager.data.creditCards = creditCards;
|
| + AutofillManagerImpl.instance_ = this.autofillManager;
|
| +
|
| var section = document.createElement('settings-autofill-section');
|
| - section.addresses = addresses;
|
| - section.creditCards = creditCards;
|
| document.body.appendChild(section);
|
| Polymer.dom.flush();
|
| return section;
|
|
|