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 |