Remove NativeWindow::GetWebContents
This commit is contained in:
parent
01dc0f973c
commit
9f52b11761
7 changed files with 25 additions and 44 deletions
|
@ -63,7 +63,7 @@ ProcessOwner GetProcessOwner(int process_id,
|
|||
|
||||
// First search for NativeWindow.
|
||||
for (auto native_window : *WindowList::GetInstance())
|
||||
if (web_contents == native_window->GetWebContents()) {
|
||||
if (web_contents == native_window->web_contents()) {
|
||||
*window = native_window;
|
||||
return OWNER_NATIVE_WINDOW;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue