summaryrefslogtreecommitdiffstats
path: root/chrome/browser/external_tab_container.cc
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 18:23:44 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 18:23:44 +0000
commit7a2c14224b1e53691c2846a0f84cb5f5fcabfc69 (patch)
tree2739ae86e9b52875014133fb81d5e6e18ec4fed4 /chrome/browser/external_tab_container.cc
parent7db46a1fd14a4f3e2e16a7b913e44c471f354ee1 (diff)
downloadchromium_src-7a2c14224b1e53691c2846a0f84cb5f5fcabfc69.zip
chromium_src-7a2c14224b1e53691c2846a0f84cb5f5fcabfc69.tar.gz
chromium_src-7a2c14224b1e53691c2846a0f84cb5f5fcabfc69.tar.bz2
Try reverting r9409 to see if it fixes crashes on chromebot.
TBR=avi Review URL: http://codereview.chromium.org/21215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/external_tab_container.cc')
-rw-r--r--chrome/browser/external_tab_container.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/external_tab_container.cc b/chrome/browser/external_tab_container.cc
index 7b03d4b..6e1d58e 100644
--- a/chrome/browser/external_tab_container.cc
+++ b/chrome/browser/external_tab_container.cc
@@ -109,7 +109,7 @@ bool ExternalTabContainer::Init(Profile* profile, HWND parent,
// may or may not include the popup bit.
ModifyStyle(WS_POPUP, style, 0);
- ::ShowWindow(tab_contents_->GetNativeView(), SW_SHOW);
+ ::ShowWindow(tab_contents_->GetContainerHWND(), SW_SHOW);
return true;
}
@@ -143,7 +143,7 @@ LRESULT ExternalTabContainer::OnSize(UINT, WPARAM, LPARAM, BOOL& handled) {
if (tab_contents_) {
RECT client_rect = {0};
GetClientRect(&client_rect);
- ::SetWindowPos(tab_contents_->GetNativeView(), NULL, client_rect.left,
+ ::SetWindowPos(tab_contents_->GetContainerHWND(), NULL, client_rect.left,
client_rect.top, client_rect.right - client_rect.left,
client_rect.bottom - client_rect.top, SWP_NOZORDER);
}