diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-04 03:55:09 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-04 03:55:09 +0000 |
commit | 8a21b7740892fca5640daae5767e7d791e90487f (patch) | |
tree | 93d3b6cc37de396846d1d5db3d40b17887f6e1fe | |
parent | 0ad18ea55a72152c095db9febcc7b581db92a841 (diff) | |
download | chromium_src-8a21b7740892fca5640daae5767e7d791e90487f.zip chromium_src-8a21b7740892fca5640daae5767e7d791e90487f.tar.gz chromium_src-8a21b7740892fca5640daae5767e7d791e90487f.tar.bz2 |
Fix ui test failure
TBR=mpcomplete
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9125 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/test/automation/tab_proxy.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/test/automation/tab_proxy.cc b/chrome/test/automation/tab_proxy.cc index 6cfac07..2d689ac 100644 --- a/chrome/test/automation/tab_proxy.cc +++ b/chrome/test/automation/tab_proxy.cc @@ -306,12 +306,11 @@ bool TabProxy::GetHWND(HWND* hwnd) const { return false; } IPC::Message* response = NULL; - HWND tab_hwnd = NULL; bool succeeded = false; if (sender_->SendAndWaitForResponse( new AutomationMsg_TabHWNDRequest(0, handle_), &response, AutomationMsg_TabHWNDResponse::ID)) { - succeeded = AutomationMsg_TabHWNDResponse::Read(response, &tab_hwnd); + succeeded = AutomationMsg_TabHWNDResponse::Read(response, hwnd); } scoped_ptr<IPC::Message> auto_deleter(response); return succeeded; |