diff options
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/chrome_frame_automation.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc index d4410cd..104f2c3 100644 --- a/chrome_frame/chrome_frame_automation.cc +++ b/chrome_frame/chrome_frame_automation.cc @@ -630,8 +630,7 @@ void ChromeFrameAutomationClient::CreateExternalTabComplete(HWND chrome_window, } AutomationLaunchResult launch_result = AUTOMATION_SUCCESS; - if (tab_handle == 0 || !::IsWindow(chrome_window) || - !::IsWindow(chrome_window)) { + if (tab_handle == 0 || !::IsWindow(chrome_window)) { launch_result = AUTOMATION_CREATE_TAB_FAILED; } else { chrome_window_ = chrome_window; |