Index: chrome/browser/geolocation/geolocation_browsertest.cc |
diff --git a/chrome/browser/geolocation/geolocation_browsertest.cc b/chrome/browser/geolocation/geolocation_browsertest.cc |
index 5c40e9e438bbf0b2fec0fefed2d7435fd7f07d44..d50cdbbd73623f9155f8bed16905b192aa906949 100644 |
--- a/chrome/browser/geolocation/geolocation_browsertest.cc |
+++ b/chrome/browser/geolocation/geolocation_browsertest.cc |
@@ -96,7 +96,6 @@ IFrameLoader::IFrameLoader(Browser* browser, int iframe_id, const GURL& url) |
registrar_.Add(this, content::NOTIFICATION_DOM_OPERATION_RESPONSE, |
content::NotificationService::AllSources()); |
std::string script(base::StringPrintf( |
- "window.domAutomationController.setAutomationId(0);" |
"window.domAutomationController.send(addIFrame(%d, \"%s\"));", |
iframe_id, url.spec().c_str())); |
web_contents->GetMainFrame()->ExecuteJavaScriptForTests( |