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

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: Merge to LKGR. 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
« no previous file with comments | « chrome/browser/debugger/devtools_window.cc ('k') | chrome/browser/extensions/app_process_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a80780c0a5100c46538dfada545a4d0b71295ba6..e1f811d4cbd3bc4d9db673a363fcfe616306d005 100644
--- a/chrome/browser/download/download_extension_api.cc
+++ b/chrome/browser/download/download_extension_api.cc
@@ -433,8 +433,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;
}
« no previous file with comments | « chrome/browser/debugger/devtools_window.cc ('k') | chrome/browser/extensions/app_process_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698