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

Unified Diff: ash/display/display_manager.cc

Issue 1251573006: Cleanup: Enable 125DSFForUIScaling on by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « ash/display/display_info_unittest.cc ('k') | ash/display/display_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_manager.cc
diff --git a/ash/display/display_manager.cc b/ash/display/display_manager.cc
index 0d6192cbca1a2946c72ad3cfea225c7e0da7c102..ca7dc4e6cf71168dc66285d226cc0174dd5b5f68 100644
--- a/ash/display/display_manager.cc
+++ b/ash/display/display_manager.cc
@@ -136,10 +136,6 @@ DisplayManager::DisplayManager()
registered_internal_display_rotation_(gfx::Display::ROTATE_0),
weak_ptr_factory_(this) {
#if defined(OS_CHROMEOS)
- // Enable only on the device so that DisplayManagerFontTest passes.
- if (base::SysInfo::IsRunningOnChromeOS())
- DisplayInfo::SetUse125DSFForUIScaling(true);
-
change_display_upon_host_resize_ = !base::SysInfo::IsRunningOnChromeOS();
#endif
gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_ALTERNATE, screen_.get());
« no previous file with comments | « ash/display/display_info_unittest.cc ('k') | ash/display/display_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698