Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7016)

Unified Diff: chrome/tools/crash_service/crash_service.cc

Issue 329017: Remove deprecated CommandLine(std::wstring) ctor. (Closed)
Patch Set: Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/ui/ui_test.cc ('k') | chrome_frame/chrome_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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))
« no previous file with comments | « chrome/test/ui/ui_test.cc ('k') | chrome_frame/chrome_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698