Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: extensions/common/features/simple_feature.cc

Issue 2141703003: [Extensions] Clean up renderer channel-related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dc_feature_no_filter
Patch Set: Test fix Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/common/features/simple_feature.cc
diff --git a/extensions/common/features/simple_feature.cc b/extensions/common/features/simple_feature.cc
index b4a39198bcd62498e6f5c0ab5ee210556a1b7227..d2af884639d005293a9f3ee0105a86891a4754ea 100644
--- a/extensions/common/features/simple_feature.cc
+++ b/extensions/common/features/simple_feature.cc
@@ -427,7 +427,7 @@ Feature::Availability SimpleFeature::IsAvailableToManifest(
return CreateAvailability(MISSING_COMMAND_LINE_SWITCH, type);
}
- if (channel_ && check_channel_ && *channel_ < GetCurrentChannel())
+ if (channel_ && *channel_ < GetCurrentChannel())
return CreateAvailability(UNSUPPORTED_CHANNEL, *channel_);
return CheckDependencies(base::Bind(&IsAvailableToManifestForBind,

Powered by Google App Engine
This is Rietveld 408576698