| Index: chrome/browser/resources/omnibox/omnibox.js
|
| diff --git a/chrome/browser/resources/omnibox/omnibox.js b/chrome/browser/resources/omnibox/omnibox.js
|
| index 860ac7f45524761f8532f18441481401a6132901..7fa1ef5ce49989525502ac69cf033ea550f5ddd4 100644
|
| --- a/chrome/browser/resources/omnibox/omnibox.js
|
| +++ b/chrome/browser/resources/omnibox/omnibox.js
|
| @@ -407,19 +407,6 @@
|
| }
|
| }
|
|
|
| - /**
|
| - * Helper to convert callback-based define() API to a promise-based API.
|
| - * @param {!Array<string>} moduleNames
|
| - * @return {!Promise}
|
| - */
|
| - function importModules(moduleNames) {
|
| - return new Promise(function(resolve, reject) {
|
| - define(moduleNames, function(var_args) {
|
| - resolve(Array.prototype.slice.call(arguments, 0));
|
| - });
|
| - });
|
| - }
|
| -
|
| // NOTE: Need to keep a global reference to the |pageImpl| such that it is not
|
| // garbage collected, which causes the pipe to close and future calls from C++
|
| // to JS to get dropped.
|
|
|