chrome: win: Fix app icon for default Chrome windows (fixes #3606)

This fixes the app icon for default Chrome windows such as DevTools
and Task Manager.

An ICON with value IDR_MAINFRAME (101) will be loaded from the main
executable is available. Otherwise, the default Chromium ICON will be
loaded from libcef.dll.
This commit is contained in:
Marshall Greenblatt
2023-11-20 19:35:05 -05:00
parent cf934a20a7
commit 3b652a9966
9 changed files with 97 additions and 15 deletions

View File

@ -54,7 +54,7 @@ int MainMessageLoopMultithreadedWin::Run() {
}
HACCEL hAccelTable =
LoadAccelerators(hInstance, MAKEINTRESOURCE(IDC_CEFCLIENT));
LoadAccelerators(hInstance, MAKEINTRESOURCE(IDR_MAINFRAME));
MSG msg;