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

Unified Diff: ui/gfx/display.h

Issue 992383002: Fix for the WebInputEventBuilderTest.TestMouseEventScale content_unittests failures on the DrMemory… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comment Created 5 years, 9 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
Index: ui/gfx/display.h
diff --git a/ui/gfx/display.h b/ui/gfx/display.h
index 9054d7c7efef1d024f0dae00ce086591ee3684ad..b63b8410a441ed7981ad8daa63a6556a382d2178 100644
--- a/ui/gfx/display.h
+++ b/ui/gfx/display.h
@@ -51,6 +51,11 @@ class GFX_EXPORT Display {
// command line via "--force-device-scale-factor".
static bool HasForceDeviceScaleFactor();
+ // Resets the flag used to determine if a device scale factor is being forced
+ // from the command line via "--force-device-scale-factor", and thus ensures
+ // that the command line is reevaluated.
+ static void ResetForceDeviceScaleFactor();
scottmg 2015/03/10 23:02:01 I think this should have a "ForTesting" suffix.
ananta 2015/03/10 23:31:57 Done.
+
// Sets/Gets unique identifier associated with the display.
// -1 means invalid display and it doesn't not exit.
int64 id() const { return id_; }

Powered by Google App Engine
This is Rietveld 408576698