mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
win: Fix compiler warning
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -8,7 +8,7 @@ import sys
|
||||
|
||||
BASE_URL = os.getenv('LIBCHROMIUMCONTENT_MIRROR') or \
|
||||
'http://github-janky-artifacts.s3.amazonaws.com/libchromiumcontent'
|
||||
LIBCHROMIUMCONTENT_COMMIT = '21768a17f4f1203a50df5c0908b788fa2ecb96ab'
|
||||
LIBCHROMIUMCONTENT_COMMIT = 'e667b7cc5a04bc8e64960d47079d99446a263e85'
|
||||
|
||||
PLATFORM = {
|
||||
'cygwin': 'win32',
|
||||
|
||||
Reference in New Issue
Block a user