| Index: chrome/browser/resources/options/browser_options.js
|
| diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
|
| index 1e9af34b02664150c039ff6a660d26cde6ac418b..dd343ab0646dee1b5342be926b07e8a19af119ed 100644
|
| --- a/chrome/browser/resources/options/browser_options.js
|
| +++ b/chrome/browser/resources/options/browser_options.js
|
| @@ -102,6 +102,11 @@ cr.define('options', function() {
|
| if (event.keyIdentifier == 'Enter')
|
| homepageField.blur();
|
| });
|
| + // Text fields may change widths when the window changes size, so make
|
| + // sure the suggestion list stays in sync.
|
| + window.addEventListener('resize', function() {
|
| + self.autocompleteList_.syncWidthToInput();
|
| + });
|
|
|
| // Ensure that changes are committed when closing the page.
|
| window.addEventListener('unload', function() {
|
|
|