Initial implementation of new protocol API

This commit is contained in:
Cheng Zhao 2015-08-12 13:30:19 +08:00
parent 1e9eaba423
commit 96d53d279e
16 changed files with 345 additions and 743 deletions

View file

@ -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.