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

Unified Diff: ash/display/display_info.cc

Issue 271543009: Send the device scale factor from Windows 8 ASH during initialization via the MetroViewerHostMsg_Se… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed tabs 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
« no previous file with comments | « no previous file | ash/test/test_metro_viewer_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_info.cc
diff --git a/ash/display/display_info.cc b/ash/display/display_info.cc
index 315985379b16c12282da056ea476496d2f454f10..c2fe18b0040c4b3b5535a6dcb4eababd9c9f5f36 100644
--- a/ash/display/display_info.cc
+++ b/ash/display/display_info.cc
@@ -115,7 +115,7 @@ DisplayInfo DisplayInfo::CreateFromSpecWithID(const std::string& spec,
} else {
#if defined(OS_WIN)
if (gfx::IsHighDPIEnabled()) {
- device_scale_factor = gfx::GetModernUIScale();
+ device_scale_factor = gfx::GetDPIScale();
}
#endif
}
« no previous file with comments | « no previous file | ash/test/test_metro_viewer_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698