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

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

Issue 308003020: Pass the device scale factor in the command line to renderer processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
« content/public/common/content_switches.h ('K') | « ui/base/win/dpi_setup.cc ('k') | 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
diff --git a/ui/gfx/win/dpi.cc b/ui/gfx/win/dpi.cc
index 6ca65d11e73f3c7ae186806928af43b6d67ce9e9..ccd7bbc970a368ad9535392df26d254d90d64799 100644
--- a/ui/gfx/win/dpi.cc
+++ b/ui/gfx/win/dpi.cc
@@ -172,7 +172,6 @@ void EnableHighDPISupport() {
namespace win {
float GetDeviceScaleFactor() {
- DCHECK_NE(0.0f, g_device_scale_factor);
ananta 2014/06/03 01:04:02 Removed this DCHECK as we need to call this to see
return g_device_scale_factor;
}
« content/public/common/content_switches.h ('K') | « ui/base/win/dpi_setup.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698