| Index: base/command_line.cc
|
| diff --git a/base/command_line.cc b/base/command_line.cc
|
| index 99ea2b000324b87ea4ab11bae1f7c5374586331c..ebca36c577ab0efc11bad1e34421c14b8d339ab2 100644
|
| --- a/base/command_line.cc
|
| +++ b/base/command_line.cc
|
| @@ -36,7 +36,7 @@ const CommandLine::CharType kSwitchValueSeparator[] = FILE_PATH_LITERAL("=");
|
| // value by changing the value of switch_prefix_count to be one less than
|
| // the array size.
|
| const CommandLine::CharType* const kSwitchPrefixes[] = {L"--", L"-", L"/"};
|
| -#elif defined(OS_POSIX)
|
| +#elif defined(OS_POSIX) || defined(OS_FUCHSIA)
|
| // Unixes don't use slash as a switch.
|
| const CommandLine::CharType* const kSwitchPrefixes[] = {"--", "-"};
|
| #endif
|
| @@ -336,7 +336,7 @@ void CommandLine::AppendSwitchNative(const std::string& switch_string,
|
| #if defined(OS_WIN)
|
| const std::string switch_key = ToLowerASCII(switch_string);
|
| StringType combined_switch_string(ASCIIToUTF16(switch_key));
|
| -#elif defined(OS_POSIX)
|
| +#elif defined(OS_POSIX) || defined(OS_FUCHSIA)
|
| const std::string& switch_key = switch_string;
|
| StringType combined_switch_string(switch_key);
|
| #endif
|
|
|