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

Unified Diff: chrome/browser/download/download_extension_api.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for initial review. Created 8 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/download/download_extension_api.cc
diff --git a/chrome/browser/download/download_extension_api.cc b/chrome/browser/download/download_extension_api.cc
index 0f92f2bdc5ee9c6345fa84174b058689f4288ce2..842a63dec1f9685915fff54283e289d3ecad3456 100644
--- a/chrome/browser/download/download_extension_api.cc
+++ b/chrome/browser/download/download_extension_api.cc
@@ -419,8 +419,8 @@ bool DownloadsDownloadFunction::ParseArgs() {
}
iodata_->rdh = ResourceDispatcherHost::Get();
iodata_->resource_context = profile()->GetResourceContext();
- iodata_->render_process_host_id = render_view_host()->process()->GetID();
- iodata_->render_view_host_routing_id = render_view_host()->routing_id();
+ iodata_->render_process_host_id = render_view_host()->GetProcess()->GetID();
+ iodata_->render_view_host_routing_id = render_view_host()->GetRoutingID();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698