mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
win: Add bootstrap[c].exe for sandbox integration (see #3824)
Replace cef_sandbox.lib usage with bootstrap executables. See the SandboxSetup Wiki page for details.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <windows.h>
|
||||
|
||||
#include "include/base/cef_logging.h"
|
||||
#include "tests/shared/browser/util_win.h"
|
||||
|
||||
namespace client {
|
||||
|
||||
@@ -16,7 +17,7 @@ const wchar_t kWndClass[] = L"Client_TempWindow";
|
||||
|
||||
// Create the temp window.
|
||||
HWND CreateTempWindow() {
|
||||
HINSTANCE hInstance = ::GetModuleHandle(nullptr);
|
||||
HINSTANCE hInstance = GetCodeModuleHandle();
|
||||
|
||||
WNDCLASSEX wc = {0};
|
||||
wc.cbSize = sizeof(wc);
|
||||
|
Reference in New Issue
Block a user