Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: ui/gfx/win/dpi.cc

Issue 137543010: Merge 246441 "Disable calls to SetProcessDPIAware under Win8.1 (..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/dpi.cc
===================================================================
--- ui/gfx/win/dpi.cc (revision 247470)
+++ ui/gfx/win/dpi.cc (working copy)
@@ -106,7 +106,8 @@
}
void EnableHighDPISupport() {
- if (IsHighDPIEnabled()) {
+ if (IsHighDPIEnabled() &&
+ (base::win::GetVersion() < base::win::VERSION_WIN8_1)) {
typedef BOOL(WINAPI *SetProcessDPIAwarePtr)(VOID);
SetProcessDPIAwarePtr set_process_dpi_aware_func =
reinterpret_cast<SetProcessDPIAwarePtr>(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698