Index: ui/gfx/display.cc |
diff --git a/ui/gfx/display.cc b/ui/gfx/display.cc |
index 8f0140872f19cb424ce2a4ab08b02c923e6f0b4c..c51103f70e5cc793435c99a5dad288804cdf95ba 100644 |
--- a/ui/gfx/display.cc |
+++ b/ui/gfx/display.cc |
@@ -20,15 +20,16 @@ namespace gfx { |
namespace { |
bool HasForceDeviceScaleFactorImpl() { |
- return CommandLine::ForCurrentProcess()->HasSwitch( |
+ return base::CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kForceDeviceScaleFactor); |
} |
float GetForcedDeviceScaleFactorImpl() { |
double scale_in_double = 1.0; |
if (HasForceDeviceScaleFactorImpl()) { |
- std::string value = CommandLine::ForCurrentProcess()-> |
- GetSwitchValueASCII(switches::kForceDeviceScaleFactor); |
+ std::string value = |
+ base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
+ switches::kForceDeviceScaleFactor); |
if (!base::StringToDouble(value, &scale_in_double)) |
LOG(ERROR) << "Failed to parse the default device scale factor:" << value; |
} |