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

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

Issue 2813073003: Make all ComplexFeatures of single feature to be SimpleFeature. (Closed)
Patch Set: fix space Created 3 years, 8 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
« no previous file with comments | « extensions/common/api/_permission_features.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/features/complex_feature.cc
diff --git a/extensions/common/features/complex_feature.cc b/extensions/common/features/complex_feature.cc
index ed129da1e6413884c70e853bcb3b27c4aa4ed90b..b5ea0ff01ff8d283b8dd4935794b498fe3c4a6a8 100644
--- a/extensions/common/features/complex_feature.cc
+++ b/extensions/common/features/complex_feature.cc
@@ -7,7 +7,7 @@
namespace extensions {
ComplexFeature::ComplexFeature(std::vector<Feature*>* features) {
- DCHECK_GT(features->size(), 0UL);
+ DCHECK_GT(features->size(), 1UL);
for (Feature* f : *features)
features_.push_back(std::unique_ptr<Feature>(f));
features->clear();
« no previous file with comments | « extensions/common/api/_permission_features.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698