diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-26 23:39:20 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-26 23:39:20 +0000 |
commit | b111f2550f706aecf641d5babf4ce858f4da6bbf (patch) | |
tree | e1d1adebf26958d97bfc4af5a4cfcc09c629c5bd /chrome_frame/chrome_launcher_unittest.cc | |
parent | 7afe339b8b7906587ce4cfd218df4cffae89e18f (diff) | |
download | chromium_src-b111f2550f706aecf641d5babf4ce858f4da6bbf.zip chromium_src-b111f2550f706aecf641d5babf4ce858f4da6bbf.tar.gz chromium_src-b111f2550f706aecf641d5babf4ce858f4da6bbf.tar.bz2 |
Blind attempt at fixing broken Chrome Frame unittests build.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30124 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_launcher_unittest.cc')
-rw-r--r-- | chrome_frame/chrome_launcher_unittest.cc | 4 |
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)); |