| Index: chrome/browser/resources/options/automatic_settings_reset_banner.js
|
| diff --git a/chrome/browser/resources/options/automatic_settings_reset_banner.js b/chrome/browser/resources/options/automatic_settings_reset_banner.js
|
| index 2a1573eb3f3b14f8b038effde6896c2768dd7047..a1bec7ae5ce8218e89ae80dc6548954f674aad5f 100644
|
| --- a/chrome/browser/resources/options/automatic_settings_reset_banner.js
|
| +++ b/chrome/browser/resources/options/automatic_settings_reset_banner.js
|
| @@ -50,15 +50,10 @@ cr.define('options', function() {
|
| };
|
|
|
| // Forward public APIs to private implementations.
|
| - [
|
| + cr.makePublic(AutomaticSettingsResetBanner, [
|
| 'show',
|
| 'dismiss',
|
| - ].forEach(function(name) {
|
| - AutomaticSettingsResetBanner[name] = function() {
|
| - var instance = AutomaticSettingsResetBanner.getInstance();
|
| - return instance[name + '_'].apply(instance, arguments);
|
| - };
|
| - });
|
| + ]);
|
|
|
| // Export
|
| return {
|
|
|