Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1039)

Unified Diff: chrome/browser/automation/url_request_automation_job.cc

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove host_render_view_id Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)) {

Powered by Google App Engine
This is Rietveld 408576698