Index: chrome/test/webdriver/webdriver_automation.cc |
diff --git a/chrome/test/webdriver/webdriver_automation.cc b/chrome/test/webdriver/webdriver_automation.cc |
index 20fdfae4e199c1aef4e9f297fc2b6ea813ddbc8a..83601be78f37698a91548919b2d1be1e59d7e489 100644 |
--- a/chrome/test/webdriver/webdriver_automation.cc |
+++ b/chrome/test/webdriver/webdriver_automation.cc |
@@ -337,8 +337,7 @@ namespace webdriver { |
Automation::BrowserOptions::BrowserOptions() |
: command(CommandLine::NO_PROGRAM), |
detach_process(false), |
- ignore_certificate_errors(false), |
- disable_popup_blocking(false) {} |
+ ignore_certificate_errors(false) {} |
Automation::BrowserOptions::~BrowserOptions() {} |
@@ -367,8 +366,6 @@ void Automation::Init( |
command.AppendSwitch(switches::kAutomationReinitializeOnChannelError); |
if (options.ignore_certificate_errors) |
command.AppendSwitch(switches::kIgnoreCertificateErrors); |
- if (options.disable_popup_blocking) |
- command.AppendSwitch(switches::kDisablePopupBlocking); |
if (options.user_data_dir.empty()) |
command.AppendSwitchASCII(switches::kHomePage, chrome::kAboutBlankURL); |