Chromium Code Reviews| Index: base/test/test_timeouts.cc |
| diff --git a/base/test/test_timeouts.cc b/base/test/test_timeouts.cc |
| index c84cd3812e80f0eab1724de8757d3bd47df01dc1..0bff6f016077e0eeaaf73743a8cdeec3ce019945 100644 |
| --- a/base/test/test_timeouts.cc |
| +++ b/base/test/test_timeouts.cc |
| @@ -41,9 +41,9 @@ const int kAlmostInfiniteTimeoutMs = 100000000; |
| // by kTimeoutMultiplier. |
| void InitializeTimeout(const char* switch_name, int min_value, int* value) { |
| DCHECK(value); |
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) { |
| - std::string string_value( |
| - CommandLine::ForCurrentProcess()->GetSwitchValueASCII(switch_name)); |
| + if (base::CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) { |
| + std::string string_value(base::CommandLine::ForCurrentProcess()-> |
| + GetSwitchValueASCII(switch_name)); |
|
rvargas (doing something else)
2014/10/22 01:43:38
nit: indentation is off
|
| int timeout; |
| base::StringToInt(string_value, &timeout); |
| *value = std::max(*value, timeout); |