diff options
author | ericzeng <ericzeng@chromium.org> | 2014-08-29 07:32:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-29 14:33:25 +0000 |
commit | e9b8e2e2cd87d9356a3ef5834f394f512f888056 (patch) | |
tree | 1b3b6537ffd137fe1ba02ce2ccfef5dea394d8f8 /chrome/renderer | |
parent | 358e9ee73f9cfd33ed3dfa61c3835eb5a00a6444 (diff) | |
download | chromium_src-e9b8e2e2cd87d9356a3ef5834f394f512f888056.zip chromium_src-e9b8e2e2cd87d9356a3ef5834f394f512f888056.tar.gz chromium_src-e9b8e2e2cd87d9356a3ef5834f394f512f888056.tar.bz2 |
Fix ExtensionOptionsGuest style and minor bug
- Reorganize methods in cc file so they match up with the header
- In SetUpAutoSize, use the autosize flag parameter read in from
the embedder to enable/disable autosize instead of passing true
BUG=386838
Review URL: https://codereview.chromium.org/510183002
Cr-Commit-Position: refs/heads/master@{#292629}
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/resources/extensions/extension_options.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/resources/extensions/extension_options.js b/chrome/renderer/resources/extensions/extension_options.js index ae07609..32bee63 100644 --- a/chrome/renderer/resources/extensions/extension_options.js +++ b/chrome/renderer/resources/extensions/extension_options.js @@ -53,7 +53,7 @@ ExtensionOptionsInternal.prototype.attachWindow = function() { this.internalInstanceId, this.guestInstanceId, { - 'autosize': this.autosize, + 'autosize': this.extensionoptionsNode.hasAttribute('autosize'), 'instanceId': this.viewInstanceId, 'maxheight': parseInt(this.maxheight || 0), 'maxwidth': parseInt(this.maxwidth || 0), |