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

Unified Diff: ash/test/display_manager_test_api.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/test/display_manager_test_api.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/display_manager_test_api.cc
diff --git a/ash/test/display_manager_test_api.cc b/ash/test/display_manager_test_api.cc
index 7627289c2306466d6888819eebb40406a4df357e..6df43b21b096787250e5b5d84f4d273f230a2db4 100644
--- a/ash/test/display_manager_test_api.cc
+++ b/ash/test/display_manager_test_api.cc
@@ -169,5 +169,13 @@ void DisplayManagerTestApi::SetAvailableColorProfiles(
profiles);
}
+ScopedDisable125DSFForUIScaling::ScopedDisable125DSFForUIScaling() {
+ DisplayInfo::SetUse125DSFForUIScalingForTest(false);
+}
+
+ScopedDisable125DSFForUIScaling::~ScopedDisable125DSFForUIScaling() {
+ DisplayInfo::SetUse125DSFForUIScalingForTest(true);
+}
+
} // namespace test
} // namespace ash
« no previous file with comments | « ash/test/display_manager_test_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698