win: Fix compiler warning
This commit is contained in:
parent
a8681b0072
commit
1e9eaba423
2 changed files with 3 additions and 2 deletions
|
@ -69,7 +69,8 @@ ProcessOwner GetProcessOwner(int process_id,
|
|||
return OWNER_NONE;
|
||||
|
||||
// First search for NativeWindow.
|
||||
if ((*window = NativeWindow::FromWebContents(web_contents)))
|
||||
*window = NativeWindow::FromWebContents(web_contents);
|
||||
if (window)
|
||||
return OWNER_NATIVE_WINDOW;
|
||||
|
||||
// Then search for guest WebContents.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue