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 20430df4774977b35aeedcfa12e2722a9362b30a..73848d524d21a1055b2164c142abc178de8b68e2 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)) { |