Index: ui/gfx/display.h |
diff --git a/ui/gfx/display.h b/ui/gfx/display.h |
index 9054d7c7efef1d024f0dae00ce086591ee3684ad..fe2a40cf632b6fa81c5fa7119b2f87b1574cef0e 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 caches 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 ResetForceDeviceScaleFactorForTesting(); |
+ |
// Sets/Gets unique identifier associated with the display. |
// -1 means invalid display and it doesn't not exit. |
int64 id() const { return id_; } |