| Index: chrome/browser/resources/options/startup_overlay.js
|
| diff --git a/chrome/browser/resources/options/startup_overlay.js b/chrome/browser/resources/options/startup_overlay.js
|
| index 2c8b883321cf72675d9a37eb58a5d99d4295cd69..4c2c523fd381b6ff6678b970fd003b77a11ea461 100644
|
| --- a/chrome/browser/resources/options/startup_overlay.js
|
| +++ b/chrome/browser/resources/options/startup_overlay.js
|
| @@ -155,10 +155,15 @@
|
| };
|
|
|
| // Forward public APIs to private implementations.
|
| - cr.makePublic(StartupOverlay, [
|
| + [
|
| 'updateStartupPages',
|
| 'updateAutocompleteSuggestions',
|
| - ]);
|
| + ].forEach(function(name) {
|
| + StartupOverlay[name] = function() {
|
| + var instance = StartupOverlay.getInstance();
|
| + return instance[name + '_'].apply(instance, arguments);
|
| + };
|
| + });
|
|
|
| // Export
|
| return {
|
|
|