summaryrefslogtreecommitdiffstats
path: root/content/shell/browser/shell_aura.cc
diff options
context:
space:
mode:
authornoamsml@google.com <noamsml@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-10 01:08:50 +0000
committernoamsml@google.com <noamsml@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-10 01:08:50 +0000
commit3aba491456ae97849f98dfb1d32beacad20fe9c5 (patch)
tree0c1462b869b46d720c7a38ce933729d97e900fb5 /content/shell/browser/shell_aura.cc
parentcfa5b2f45d470115ffe397f70ee4a47019949ae3 (diff)
downloadchromium_src-3aba491456ae97849f98dfb1d32beacad20fe9c5.zip
chromium_src-3aba491456ae97849f98dfb1d32beacad20fe9c5.tar.gz
chromium_src-3aba491456ae97849f98dfb1d32beacad20fe9c5.tar.bz2
Revert 244005 "Remove SetHostSize/Bounds from RootWindow in favo..."
> Remove SetHostSize/Bounds from RootWindow in favor of just calling SetBounds() on host() > > R=sky@chromium.org > http://crbug.com/308846 > > Review URL: https://codereview.chromium.org/128753002 TBR=ben@chromium.org Review URL: https://codereview.chromium.org/133003002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244033 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/browser/shell_aura.cc')
-rw-r--r--content/shell/browser/shell_aura.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/shell/browser/shell_aura.cc b/content/shell/browser/shell_aura.cc
index 6493824..0b72f9c 100644
--- a/content/shell/browser/shell_aura.cc
+++ b/content/shell/browser/shell_aura.cc
@@ -147,7 +147,7 @@ ShellAuraPlatformData::~ShellAuraPlatformData() {
}
void ShellAuraPlatformData::ResizeWindow(int width, int height) {
- root_window_->host()->SetBounds(gfx::Rect(width, height));
+ root_window_->SetHostSize(gfx::Size(width, height));
}
// static