Index: chrome/browser/chromeos/system/name_value_pairs_parser.cc |
diff --git a/chrome/browser/chromeos/system/name_value_pairs_parser.cc b/chrome/browser/chromeos/system/name_value_pairs_parser.cc |
index f4d64c189e5502192589dc3252a685d67c43da20..88f1d4846be68d05ec464f8cb734ce017440b9f1 100644 |
--- a/chrome/browser/chromeos/system/name_value_pairs_parser.cc |
+++ b/chrome/browser/chromeos/system/name_value_pairs_parser.cc |
@@ -29,9 +29,11 @@ bool GetToolOutput(int argc, const char* argv[], std::string& output) { |
return false; |
} |
- CommandLine command_line(argc, argv); |
- if (!base::GetAppOutput(command_line, &output)) { |
- LOG(WARNING) << "Error executing: " << command_line.GetCommandLineString(); |
+ std::vector<std::string> args; |
+ for (int argn = 0; argn < argc; ++argn) |
+ args.push_back(argv[argn]); |
+ if (!base::GetAppOutput(args, &output)) { |
+ LOG(WARNING) << "Error executing " << argv[0]; |
return false; |
} |