| Index: chrome/browser/resources/settings/prefs/prefs.js
|
| diff --git a/chrome/browser/resources/settings/prefs/prefs.js b/chrome/browser/resources/settings/prefs/prefs.js
|
| index e466e58391bf046186bd5b726bc9ace43665d59b..c17dbcb5462f46e8eafcaa6f0115c9242d80bca0 100644
|
| --- a/chrome/browser/resources/settings/prefs/prefs.js
|
| +++ b/chrome/browser/resources/settings/prefs/prefs.js
|
| @@ -238,11 +238,12 @@
|
| },
|
|
|
| /**
|
| - * Uninitializes this element to remove it from tests. Also resets
|
| + * Uninitializes this element to render it inert in tests. Also resets
|
| * settings-prefs-singleton, allowing newly created elements to
|
| * re-initialize it.
|
| */
|
| - resetForTesting: function() {
|
| + uninitializeForTesting: function() {
|
| + this.stopListening_();
|
| this.singleton_.resetForTesting();
|
| },
|
| });
|
|
|