| Index: chrome/test/startup/startup_test.cc
|
| diff --git a/chrome/test/startup/startup_test.cc b/chrome/test/startup/startup_test.cc
|
| index 1422e4961a3e2a0b071da9653126a3108aecdc47..d2bff3dd720e4d533d7ee00ca91598b87f32fb3b 100644
|
| --- a/chrome/test/startup/startup_test.cc
|
| +++ b/chrome/test/startup/startup_test.cc
|
| @@ -50,7 +50,7 @@ class StartupTest : public UITest {
|
| FilePath(FilePath::kCurrentDirectory),
|
| FilePath(FILE_PATH_LITERAL("simple.html")));
|
| ASSERT_TRUE(file_util::PathExists(file_url));
|
| - launch_arguments_.AppendLooseValue(file_url.ToWStringHack());
|
| + launch_arguments_.AppendArgPath(file_url);
|
| }
|
|
|
| // Load a complex html file on startup represented by |which_tab|.
|
| @@ -68,7 +68,7 @@ class StartupTest : public UITest {
|
| .AppendASCII("page_cycler").AppendASCII("moz")
|
| .AppendASCII(this_domain).AppendASCII("index.html");
|
| GURL file_url = net::FilePathToFileURL(page_cycler_path).Resolve("?skip");
|
| - launch_arguments_.AppendLooseValue(ASCIIToWide(file_url.spec()));
|
| + launch_arguments_.AppendArg(file_url.spec());
|
| }
|
|
|
| // Use the given profile in the test data extensions/profiles dir. This tests
|
|
|