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

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

Issue 669213004: remove IsInHighDPIMode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
Index: ui/gfx/win/dpi.cc
diff --git a/ui/gfx/win/dpi.cc b/ui/gfx/win/dpi.cc
index 2777f7cb01235bb838de9c8e7b42343a1f5f2499..86cd15c39d6cb5f5aa4f0d18b864c49c9ea88549 100644
--- a/ui/gfx/win/dpi.cc
+++ b/ui/gfx/win/dpi.cc
@@ -159,10 +159,6 @@ bool IsHighDPIEnabled() {
return value != 0;
}
-bool IsInHighDPIMode() {
- return GetDPIScale() > 1.0;
-}
-
void EnableHighDPISupport() {
if (IsHighDPIEnabled() &&
!SetProcessDpiAwarenessWrapper(PROCESS_SYSTEM_DPI_AWARE)) {

Powered by Google App Engine
This is Rietveld 408576698