Commit ccda5ae
Fix dpi_aware.cpp guard: OS_WIN -> _WIN32
OS_WIN is a Chromium internal define that is not set in our CMake
compile flags. _WIN32 is always set by MSVC on Windows, so use that
instead. The previous OS_WIN guard caused the entire file to compile
to nothing, leaving IsProcessDpiAware, GetSystemDpi,
GetDpiAwareWindowSize and SetBrowserDpiSettings undefined.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 95d32cb commit ccda5ae
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
0 commit comments