summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_launcher_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/chrome_launcher_unittest.cc')
-rw-r--r--chrome_frame/chrome_launcher_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/chrome_launcher_unittest.cc b/chrome_frame/chrome_launcher_unittest.cc
index ca140801..454854d 100644
--- a/chrome_frame/chrome_launcher_unittest.cc
+++ b/chrome_frame/chrome_launcher_unittest.cc
@@ -30,7 +30,7 @@ class LogDisabler {
} // namespace
TEST(ChromeLauncher, SanitizeCommandLine) {
- CommandLine bad(L"dummy.exe");
+ CommandLine bad(FilePath(L"dummy.exe"));
bad.AppendSwitch(switches::kDisableMetrics); // in whitelist
bad.AppendSwitchWithValue(switches::kLoadExtension, L"foo"); // in whitelist
bad.AppendSwitch("no-such-switch"); // does not exist
@@ -38,7 +38,7 @@ TEST(ChromeLauncher, SanitizeCommandLine) {
LogDisabler no_dchecks;
- CommandLine sanitized(L"dumbo.exe");
+ CommandLine sanitized(FilePath(L"dumbo.exe"));
chrome_launcher::SanitizeCommandLine(bad, &sanitized);
EXPECT_TRUE(sanitized.HasSwitch(switches::kDisableMetrics));
EXPECT_FALSE(sanitized.HasSwitch(switches::kLoadExtension));