summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-26 23:39:20 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-26 23:39:20 +0000
commitb111f2550f706aecf641d5babf4ce858f4da6bbf (patch)
treee1d1adebf26958d97bfc4af5a4cfcc09c629c5bd
parent7afe339b8b7906587ce4cfd218df4cffae89e18f (diff)
downloadchromium_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
-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));