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

Unified Diff: chrome_frame/test/chrome_frame_test_utils.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_frame/chrome_launcher.cc ('k') | chrome_frame/test/net/process_singleton_subclass.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/chrome_frame_test_utils.cc
diff --git a/chrome_frame/test/chrome_frame_test_utils.cc b/chrome_frame/test/chrome_frame_test_utils.cc
index a75d7914722bc7c451a35bcce67c1fcdfcbc7efc..7d2d67b0992d9264c1971b02f1ec8ff2730aed46 100644
--- a/chrome_frame/test/chrome_frame_test_utils.cc
+++ b/chrome_frame/test/chrome_frame_test_utils.cc
@@ -322,8 +322,7 @@ base::ProcessHandle LaunchExecutable(const std::wstring& executable,
if (path.empty()) {
DLOG(ERROR) << "Failed to find executable: " << executable;
} else {
- CommandLine cmdline(L"");
- cmdline.ParseFromString(path);
+ CommandLine cmdline = CommandLine::FromString(path);
base::LaunchApp(cmdline, false, false, &process);
}
} else {
« no previous file with comments | « chrome_frame/chrome_launcher.cc ('k') | chrome_frame/test/net/process_singleton_subclass.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698