| Index: chrome/browser/safe_browsing/safe_browsing_navigation_observer.cc
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_navigation_observer.cc b/chrome/browser/safe_browsing/safe_browsing_navigation_observer.cc
|
| index 776d5107574418f79c1ef9c9c5405a9017179ce9..1be3c994391c88772b0e1afd3336cacaac546502 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_navigation_observer.cc
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_navigation_observer.cc
|
| @@ -143,9 +143,11 @@ void SafeBrowsingNavigationObserver::DidStartNavigation(
|
| // incorrect when another frame is targeting this frame. Need to refine this
|
| // logic after the true initiator details are added to NavigationHandle
|
| // (https://crbug.com/651895).
|
| + int current_process_id =
|
| + navigation_handle->GetStartingSiteInstance()->GetProcess()->GetID();
|
| content::RenderFrameHost* current_frame_host =
|
| navigation_handle->GetWebContents()->FindFrameByFrameTreeNodeId(
|
| - nav_event->frame_id);
|
| + nav_event->frame_id, current_process_id);
|
| // For browser initiated navigation (e.g. from address bar or bookmark), we
|
| // don't fill the source_url to prevent attributing navigation to the last
|
| // committed navigation.
|
|
|