win: Remove CefEnableHighDPISupport function (fixes issue #3452)

High-DPI support is now enabled by default in Chromium.
This commit is contained in:
Marshall Greenblatt
2023-03-03 16:07:27 -05:00
parent d33b67cb33
commit f3b570cf8e
9 changed files with 2 additions and 47 deletions

View File

@ -168,13 +168,6 @@ int CefRunWinMainWithPreferredStackSize(wWinMainPtr wWinMain,
int CefRunMainWithPreferredStackSize(mainPtr main, int argc, char* argv[]);
#endif // defined(ARCH_CPU_32_BITS)
///
/// Call during process startup to enable High-DPI support on Windows 7 or
/// newer. Older versions of Windows should be left DPI-unaware because they do
/// not support DirectWrite and GDI fonts are kerned very badly.
///
void CefEnableHighDPISupport();
///
/// Set to true before calling Windows APIs like TrackPopupMenu that enter a
/// modal message loop. Set to false after exiting the modal message loop.