Commit 9a264896 authored by jamiewalch's avatar jamiewalch Committed by Commit bot

Centre message windows when they are shown.

This adds a missing optional parameter to resizeWindowToContent. The parameter
is already specified when the message is updated--not including it here too was
an oversight.

Review URL: https://codereview.chromium.org/1133873002

Cr-Commit-Position: refs/heads/master@{#329202}
parent 44ce4de9
......@@ -130,7 +130,7 @@ MessageWindowImpl.prototype.onMessage_ = function(event) {
chrome.app.window.current().onClosed.addListener(
this.sendReply_.bind(this, event.source, messageId, 0));
base.resizeWindowToContent();
base.resizeWindowToContent(true);
chrome.app.window.current().show();
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment