Skip to content

Commit

Permalink
Add support for CEF 112
Browse files Browse the repository at this point in the history
CefEnableHighDPISupport is removed as it is no longer needed.

chromiumembedded/cef#3452
  • Loading branch information
HashidaTKS committed Mar 14, 2023
1 parent a806ec4 commit ffc01eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sazabi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4087,7 +4087,9 @@ void CSazabi::InitializeCef()
PROC_TIME(InitializeCef)

m_cefApp = new ClientApp();
#if CHROME_VERSION_MAJOR < 112
CefEnableHighDPISupport();
#endif

CefMainArgs mainargs(m_hInstance);
void* sandbox_info = NULL;
Expand Down Expand Up @@ -5064,7 +5066,9 @@ int AFXAPI AfxWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmd
strCommandLineData = ::GetCommandLine();
if (strCommandLineData.Find(_T("--type=")) > 0)
{
#if CHROME_VERSION_MAJOR < 112
CefEnableHighDPISupport();
#endif
CefMainArgs mainargs(hInstance);
void* sandbox_info = NULL;
if (strCommandLineData.Find(_T("--type=renderer")) > 0)
Expand Down

0 comments on commit ffc01eb

Please sign in to comment.