Index: base/command_line.cc |
=================================================================== |
--- base/command_line.cc (revision 106858) |
+++ base/command_line.cc (working copy) |
@@ -268,8 +268,8 @@ |
const std::string& switch_string) const { |
StringType value = GetSwitchValueNative(switch_string); |
if (!IsStringASCII(value)) { |
- LOG(WARNING) << "Value of switch (" << switch_string << ") must be ASCII."; |
- return ""; |
+ DLOG(WARNING) << "Value of switch (" << switch_string << ") must be ASCII."; |
+ return std::string(); |
} |
#if defined(OS_WIN) |
return WideToASCII(value); |
@@ -394,8 +394,8 @@ |
wchar_t** args = NULL; |
args = ::CommandLineToArgvW(command_line_string.c_str(), &num_args); |
- PLOG_IF(FATAL, !args) << "CommandLineToArgvW failed on command line: " << |
- command_line; |
+ DPLOG_IF(FATAL, !args) << "CommandLineToArgvW failed on command line: " |
+ << command_line; |
InitFromArgv(num_args, args); |
LocalFree(args); |
} |