Initial implementation of new protocol API
This commit is contained in:
parent
1e9eaba423
commit
96d53d279e
16 changed files with 345 additions and 743 deletions
|
@ -70,7 +70,7 @@ ProcessOwner GetProcessOwner(int process_id,
|
|||
|
||||
// First search for NativeWindow.
|
||||
*window = NativeWindow::FromWebContents(web_contents);
|
||||
if (window)
|
||||
if (*window)
|
||||
return OWNER_NATIVE_WINDOW;
|
||||
|
||||
// Then search for guest WebContents.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue