Update search.cc

This commit is contained in:
Alexander David Frick 2022-06-06 23:22:30 -07:00 committed by GitHub
parent 845ab831f5
commit 1f17cec81f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -216,7 +216,7 @@ bool IsRenderedInInstantProcess(content::WebContents* contents,
return false;
#else
content::RenderProcessHost* process_host =
contents->GetMainFrame()->GetProcess();
contents->GetPrimaryFrame()->GetProcess();
if (!process_host)
return false;