Index: chrome/browser/automation/url_request_automation_job.cc |
diff --git a/chrome/browser/automation/url_request_automation_job.cc b/chrome/browser/automation/url_request_automation_job.cc |
index 2ae27363b2455b590031186f34c417b193904c51..beb7ad66922f559272380a35cacf50d955226667 100644 |
--- a/chrome/browser/automation/url_request_automation_job.cc |
+++ b/chrome/browser/automation/url_request_automation_job.cc |
@@ -105,12 +105,6 @@ net::URLRequestJob* URLRequestAutomationJob::Factory( |
if (request_info) { |
int child_id = request_info->child_id(); |
int route_id = request_info->route_id(); |
- |
- if (request_info->process_type() == ChildProcessInfo::PLUGIN_PROCESS) { |
- child_id = request_info->host_renderer_id(); |
- route_id = request_info->host_render_view_id(); |
- } |
- |
AutomationResourceMessageFilter::AutomationDetails details; |
if (AutomationResourceMessageFilter::LookupRegisteredRenderView( |
child_id, route_id, &details)) { |