| 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 3ea5059563f0110d82b294f1c20c2aa9c00d5014..61ccfdf0b19139ade6387f4abe58cc0ee6a27718 100644
|
| --- a/chrome/browser/resources/md_extensions/options_dialog.js
|
| +++ b/chrome/browser/resources/md_extensions/options_dialog.js
|
| @@ -37,15 +37,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;
|
|
|