Skip to content

Commit 87f20df

Browse files
committed
Upgrade to 3.3626.1895. Improve search for runtime
1 parent 37233aa commit 87f20df

3 files changed

Lines changed: 25 additions & 17 deletions

File tree

patches/prebuilt_1895.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/tests/cefclient/browser/browser_window_std_win.cc b/tests/cefclient/browser/browser_window_std_win.cc
2+
index fa7ee02..90f17aa 100644
3+
--- a/tests/cefclient/browser/browser_window_std_win.cc
4+
+++ b/tests/cefclient/browser/browser_window_std_win.cc
5+
@@ -65,7 +65,7 @@ void BrowserWindowStdWin::ShowPopup(ClientWindowHandle parent_handle,
6+
static_cast<int>(height), SWP_NOZORDER | SWP_NOACTIVATE);
7+
8+
const bool no_activate =
9+
- GetWindowLongPtr(parent_handle, GWL_EXSTYLE) & WS_EX_NOACTIVATE;
10+
+ (GetWindowLongPtr(parent_handle, GWL_EXSTYLE) & WS_EX_NOACTIVATE) != 0;
11+
ShowWindow(hwnd, no_activate ? SW_SHOWNOACTIVATE : SW_SHOW);
12+
}
13+
}

src/version/cef_version_win.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@
3535
#ifndef CEF_INCLUDE_CEF_VERSION_H_
3636
#define CEF_INCLUDE_CEF_VERSION_H_
3737

38-
#define CEF_VERSION "3.3578.1870.gc974488"
38+
#define CEF_VERSION "3.3626.1895.g7001d56"
3939
#define CEF_VERSION_MAJOR 3
40-
#define CEF_COMMIT_NUMBER 1870
41-
#define CEF_COMMIT_HASH "c974488bae67171e814b9666de3000867ff7bd76"
40+
#define CEF_COMMIT_NUMBER 1895
41+
#define CEF_COMMIT_HASH "7001d56090315a4207abac1dd9358219fd76b155"
4242
#define COPYRIGHT_YEAR 2019
4343

44-
#define CHROME_VERSION_MAJOR 71
44+
#define CHROME_VERSION_MAJOR 72
4545
#define CHROME_VERSION_MINOR 0
46-
#define CHROME_VERSION_BUILD 3578
47-
#define CHROME_VERSION_PATCH 98
46+
#define CHROME_VERSION_BUILD 3626
47+
#define CHROME_VERSION_PATCH 121
4848

4949
#define DO_MAKE_STRING(p) #p
5050
#define MAKE_STRING(p) DO_MAKE_STRING(p)

tools/make_installer.py

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -387,20 +387,15 @@ def copy_cpp_extension_dependencies_issue359(pkg_dir):
387387
# Python 2.7
388388
if os.path.exists(os.path.join(pkg_dir, "cefpython_py27.pyd")):
389389
if ARCH32:
390-
search_paths = [
391-
# This runtime version is shipped with Python 2.7.14
392-
r"c:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b"
393-
r"_9.0.30729.1_none_e163563597edeada\msvcp90.dll",
394-
]
390+
# This runtime version is shipped with Python 2.7.14
391+
search_paths = glob.glob(r'c:\Windows\winsxs\x86_microsoft.vc90.*\msvcp90.dll')
395392
else:
396-
search_paths = [
397-
# This runtime version is shipped with Python 2.7.14
398-
r"c:\Windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b"
399-
r"_9.0.30729.1_none_99b61f5e8371c1d4\msvcp90.dll",
400-
]
393+
# This runtime version is shipped with Python 2.7.14
394+
search_paths = glob.glob(r'c:\Windows\winsxs\amd64_microsoft.vc90.*\msvcp90.dll')
401395
root_search_paths.append(search_paths)
402396

403-
assert len(root_search_paths)
397+
if not root_search_paths:
398+
raise Exception("C++ extension dll dependency not found.")
404399

405400
for search_paths in root_search_paths:
406401
found = False

0 commit comments

Comments
 (0)