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

Unified Diff: chrome/browser/extensions/api/web_navigation/web_navigation_api.cc

Issue 2385363002: Pass the RenderProcessHost id on retargeting. (Closed)
Patch Set: Address review feedback and compile problem. Created 4 years, 2 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/extensions/api/web_navigation/web_navigation_api.cc
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
index c15439bae6a5f3ba61cb5e4f6c807d1dee0754b3..165da220b19358aec89a2cc767d6d9ddbb13cdde 100644
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc
@@ -160,8 +160,7 @@ void WebNavigationEventRouter::Retargeting(const RetargetingDetails* details) {
tab_observer->frame_navigation_state();
content::RenderFrameHost* frame_host = content::RenderFrameHost::FromID(
- details->source_web_contents->GetRenderProcessHost()->GetID(),
- details->source_render_frame_id);
+ details->source_render_process_id, details->source_render_frame_id);
if (!frame_navigation_state.CanSendEvents(frame_host))
return;
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698