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

Unified Diff: chrome/test/memory_test/memory_test.cc

Issue 3012021: CommandLine: add a CopySwitchesFrom() for copying from another CommandLine (Closed)
Patch Set: minor cleanups Created 10 years, 5 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/in_process_browser_test.cc ('k') | chrome/test/nacl/nacl_sandbox_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/memory_test/memory_test.cc
diff --git a/chrome/test/memory_test/memory_test.cc b/chrome/test/memory_test/memory_test.cc
index 079e0a46201f884a70fa452972f2f4ec6c63557a..249cf167cea5c46cdce95774fb635463662e30e5 100644
--- a/chrome/test/memory_test/memory_test.cc
+++ b/chrome/test/memory_test/memory_test.cc
@@ -116,8 +116,7 @@ class MemoryTest : public UITest {
browser_directory_ = browser_dir;
}
- launch_arguments_.AppendSwitchWithValue(switches::kUserDataDir,
- user_data_dir_.ToWStringHack());
+ launch_arguments_.AppendSwitchPath(switches::kUserDataDir, user_data_dir_);
UITest::SetUp();
}
« no previous file with comments | « chrome/test/in_process_browser_test.cc ('k') | chrome/test/nacl/nacl_sandbox_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698