Index: chrome/tools/crash_service/crash_service.cc |
diff --git a/chrome/tools/crash_service/crash_service.cc b/chrome/tools/crash_service/crash_service.cc |
index 058c40a42e6567f77e2662bba344c39556f4d71a..ddc75983d7e32f24ac201dc1981e6c4781222b32 100644 |
--- a/chrome/tools/crash_service/crash_service.cc |
+++ b/chrome/tools/crash_service/crash_service.cc |
@@ -194,8 +194,7 @@ bool CrashService::Initialize(const std::wstring& command_line) { |
return false; |
} |
- CommandLine cmd_line(L""); |
- cmd_line.ParseFromString(command_line); |
+ CommandLine cmd_line = CommandLine::FromString(command_line); |
// We can override the send reports quota with a command line switch. |
if (cmd_line.HasSwitch(kMaxReports)) |