Index: chrome/browser/automation/testing_automation_provider.cc |
diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc |
index 12fc4d3f420db621d73a105d5ae3e1d8a21b9793..0c86a931b1908d21597f6cac63df846e4514b2ef 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -1016,11 +1016,9 @@ void TestingAutomationProvider::ExecuteJavascriptInRenderViewFrame( |
// This routing id needs to be remembered for the reverse |
// communication while sending back the response of |
// this javascript execution. |
- render_view_host->ExecuteJavascriptInWebFrame( |
- frame_xpath, |
- base::ASCIIToUTF16("window.domAutomationController.setAutomationId(0);")); |
- render_view_host->ExecuteJavascriptInWebFrame( |
- frame_xpath, script); |
+ |
+ // Automation is dead. http://crbug.com/316203 |
+ NOTREACHED() << "Automation is dead."; |
} |
void TestingAutomationProvider::ExecuteJavascript( |