Add DCHECKs to SetProcessDpiAwarenessWrapper

Desktop / Chromium - Peter Boström [chromium.org] - 12 October 2017 20:04 EDT

Makes sure that failures to set high-DPI don't go undetected, especially if SetProcessDpiAwarenessInternal changes name between releases.

Change-Id: Idf946c85d279d28958fdbc9b820688d24afb36d3 Reviewed-on: https://chromium-review.googlesource.com/706552 Commit-Queue: Peter Boström

d300bbc Add DCHECKs to SetProcessDpiAwarenessWrapper.
base/win/win_util.cc | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)

Upstream: git.chromium.org


  • Share