summaryrefslogtreecommitdiffstats
path: root/content/shell/browser/shell_aura.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-10 21:27:15 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-10 21:27:15 +0000
commit8818529ec674aa1eebb4ae2fc84836c70acd0c39 (patch)
tree9f06303224e9fea2c850bdff36c2579f84dc952d /content/shell/browser/shell_aura.cc
parent1cc5f29cf41a44f259da80f07bd3ac3b9d28b9fe (diff)
downloadchromium_src-8818529ec674aa1eebb4ae2fc84836c70acd0c39.zip
chromium_src-8818529ec674aa1eebb4ae2fc84836c70acd0c39.tar.gz
chromium_src-8818529ec674aa1eebb4ae2fc84836c70acd0c39.tar.bz2
Remove SetHostSize/Bounds from RootWindow in favor of just calling SetBounds() on host()
R=sky@chromium.org http://crbug.com/308846 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244005 Review URL: https://codereview.chromium.org/128753002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244244 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 0b72f9c..6493824 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_->SetHostSize(gfx::Size(width, height));
+ root_window_->host()->SetBounds(gfx::Rect(width, height));
}
// static