summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/policy_settings_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/policy_settings_unittest.cc')
-rw-r--r--chrome_frame/test/policy_settings_unittest.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome_frame/test/policy_settings_unittest.cc b/chrome_frame/test/policy_settings_unittest.cc
index 343b426..ba1ecdd 100644
--- a/chrome_frame/test/policy_settings_unittest.cc
+++ b/chrome_frame/test/policy_settings_unittest.cc
@@ -225,7 +225,7 @@ TEST_F(PolicySettingsTest, AdditionalLaunchParameters) {
AdditionalLaunchParameters().GetProgram().empty());
std::string test_switches("--");
- test_switches += switches::kDisableMediaSource;
+ test_switches += switches::kDisableWebKitMediaSource;
HKEY root[] = { HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER };
for (int i = 0; i < arraysize(root); ++i) {
@@ -234,13 +234,14 @@ TEST_F(PolicySettingsTest, AdditionalLaunchParameters) {
ResetPolicySettings();
const CommandLine& additional_params =
PolicySettings::GetInstance()->AdditionalLaunchParameters();
- EXPECT_TRUE(additional_params.HasSwitch(switches::kDisableMediaSource));
+ EXPECT_TRUE(additional_params.HasSwitch(
+ switches::kDisableWebKitMediaSource));
base::FilePath program_path(FILE_PATH_LITERAL("my_chrome.exe"));
CommandLine new_cmd_line(program_path);
new_cmd_line.AppendArguments(additional_params, false);
EXPECT_NE(new_cmd_line.GetProgram(), additional_params.GetProgram());
- EXPECT_TRUE(new_cmd_line.HasSwitch(switches::kDisableMediaSource));
+ EXPECT_TRUE(new_cmd_line.HasSwitch(switches::kDisableWebKitMediaSource));
DeleteChromeFramePolicyEntries(root[i]);
}