summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 14:44:14 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 14:44:14 +0000
commitf72a657413fea276d186e65a59f47216e3a9a053 (patch)
tree85481035cc99d90712af7b51146b9690947f7350 /chrome_frame
parent78608207516488dae7e976ed1aa54c294ff4c336 (diff)
downloadchromium_src-f72a657413fea276d186e65a59f47216e3a9a053.zip
chromium_src-f72a657413fea276d186e65a59f47216e3a9a053.tar.gz
chromium_src-f72a657413fea276d186e65a59f47216e3a9a053.tar.bz2
Fixing a tiny bit of silliness in chrome_frame_automation.cc.
Review URL: http://codereview.chromium.org/271097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29114 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/chrome_frame_automation.cc3
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;