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

Unified Diff: ui/display/screen.cc

Issue 2207043002: SetDeviceScaleFactorForTest Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: SetDeviceScaleFactorForTest Created 4 years, 4 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 | « ui/display/screen.h ('k') | ui/display/win/screen_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/screen.cc
diff --git a/ui/display/screen.cc b/ui/display/screen.cc
index 25f688219985aca631b5837818acaf34955a5a95..710f8d9d4ee71c29651c24292fe2a34d8b78c821 100644
--- a/ui/display/screen.cc
+++ b/ui/display/screen.cc
@@ -17,7 +17,9 @@ Screen* g_screen;
Screen::Screen() {}
-Screen::~Screen() {}
+Screen::~Screen() {
+ display::Display::ResetForceDeviceScaleFactorForTesting();
+}
// static
Screen* Screen::GetScreen() {
« no previous file with comments | « ui/display/screen.h ('k') | ui/display/win/screen_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698