From 8a21b7740892fca5640daae5767e7d791e90487f Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Wed, 4 Feb 2009 03:55:09 +0000 Subject: Fix ui test failure TBR=mpcomplete git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9125 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/test/automation/tab_proxy.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'chrome/test') 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 auto_deleter(response); return succeeded; -- cgit v1.1