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

Unified Diff: net/tools/dump_cache/dump_cache.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 | « net/tools/crash_cache/crash_cache.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/dump_cache/dump_cache.cc
diff --git a/net/tools/dump_cache/dump_cache.cc b/net/tools/dump_cache/dump_cache.cc
index 8a84b91bcf7f6d5f7f1a97940bea8ef6def47ca8..8e6084e494ee8023a381e2ad011735dec153c6e8 100644
--- a/net/tools/dump_cache/dump_cache.cc
+++ b/net/tools/dump_cache/dump_cache.cc
@@ -90,8 +90,7 @@ int LaunchSlave(const CommandLine& command_line,
hacked_command_line.insert(to_remove, new_program);
- CommandLine new_command_line(L"");
- new_command_line.ParseFromString(hacked_command_line);
+ CommandLine new_command_line = CommandLine::FromString(hacked_command_line);
if (do_upgrade || do_convert_to_text)
new_command_line.AppendSwitch(kSlave);
« no previous file with comments | « net/tools/crash_cache/crash_cache.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698