Index: chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc |
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc |
index 874ee8c16fb95339d634fe5c7e7557dc5d8895ae..6d46479325b1e39b856e89bc01e9e077d842c8d1 100644 |
--- a/chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc |
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_background_unittest.cc |
@@ -89,7 +89,8 @@ TEST_F(ExtensionManifestTest, BackgroundAllowNoJsAccess) { |
TEST_F(ExtensionManifestTest, BackgroundPageWebRequest) { |
CommandLine::ForCurrentProcess()->AppendSwitch( |
switches::kEnableExperimentalExtensionApis); |
- Feature::SetChannelForTesting(chrome::VersionInfo::CHANNEL_UNKNOWN); |
+ Feature::ScopedCurrentChannel current_channel( |
+ chrome::VersionInfo::CHANNEL_DEV); |
std::string error; |
scoped_ptr<DictionaryValue> manifest( |