| Index: ui/gfx/display.cc
|
| diff --git a/ui/gfx/display.cc b/ui/gfx/display.cc
|
| index 024b1f9aaa6c8030ab26e25bed68e841189170df..2cdc9a539af18b8d36d3312a54610ef32daba595 100644
|
| --- a/ui/gfx/display.cc
|
| +++ b/ui/gfx/display.cc
|
| @@ -51,7 +51,9 @@ float Display::GetForcedDeviceScaleFactor() {
|
|
|
| //static
|
| bool Display::HasForceDeviceScaleFactor() {
|
| - return HasForceDeviceScaleFactorImpl();
|
| + static const bool kHasForceDeviceScaleFactor =
|
| + HasForceDeviceScaleFactorImpl();
|
| + return kHasForceDeviceScaleFactor;
|
| }
|
|
|
| Display::Display()
|
|
|