From 51343d5ae5d463fc4f84f4af79b44962a580cd4f Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Mon, 26 Oct 2009 22:39:33 +0000 Subject: Remove deprecated CommandLine(std::wstring) ctor. Add a ctor for creating a CommandLine for carrying arguments; convert all the users to either that or the FilePath version. BUG=24672 Review URL: http://codereview.chromium.org/329017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30117 0039d316-1c4b-4281-b951-d872f2087c98 --- net/tools/dump_cache/dump_cache.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'net/tools/dump_cache') diff --git a/net/tools/dump_cache/dump_cache.cc b/net/tools/dump_cache/dump_cache.cc index 8a84b91..8e6084e 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); -- cgit v1.1