| Index: chrome/browser/resources/md_extensions/options_dialog.js
|
| diff --git a/chrome/browser/resources/md_extensions/options_dialog.js b/chrome/browser/resources/md_extensions/options_dialog.js
|
| index 9ed27d0089e781414e0c1ad7766d6aa0b629d039..8060904078fe7352dc431627dd6e5b88e7396888 100644
|
| --- a/chrome/browser/resources/md_extensions/options_dialog.js
|
| +++ b/chrome/browser/resources/md_extensions/options_dialog.js
|
| @@ -33,15 +33,12 @@ cr.define('extensions', function() {
|
| };
|
|
|
| var onSizeChanged = function(e) {
|
| - var minHeaderWidth =
|
| - this.$['icon-and-name-wrapper'].offsetWidth +
|
| - this.$['close-button'].offsetWidth +
|
| - HEADER_PADDING;
|
| + var minHeaderWidth = this.$['icon-and-name-wrapper'].offsetWidth +
|
| + this.$['close-button'].offsetWidth + HEADER_PADDING;
|
| var minWidth = Math.max(minHeaderWidth, MIN_WIDTH);
|
| this.$.main.style.height =
|
| bounded(MIN_HEIGHT, MAX_HEIGHT, e.height) + 'px';
|
| - this.$.main.style.width =
|
| - bounded(minWidth, MAX_WIDTH, e.width) + 'px';
|
| + this.$.main.style.width = bounded(minWidth, MAX_WIDTH, e.width) + 'px';
|
| }.bind(this);
|
|
|
| this.extensionOptions_.onpreferredsizechanged = onSizeChanged;
|
|
|