| Index: chrome/common/extensions/features/chrome_channel_feature_filter_unittest.cc
|
| diff --git a/chrome/common/extensions/features/chrome_channel_feature_filter_unittest.cc b/chrome/common/extensions/features/chrome_channel_feature_filter_unittest.cc
|
| index 95eb719b0c1d040533400a16251a0a4cefd6793e..ff29ab3714d0729b0a2c8d0c13e6c6e5198a2f39 100644
|
| --- a/chrome/common/extensions/features/chrome_channel_feature_filter_unittest.cc
|
| +++ b/chrome/common/extensions/features/chrome_channel_feature_filter_unittest.cc
|
| @@ -246,7 +246,7 @@ TEST_F(ChromeChannelFeatureFilterTest, ComplexFeatureAvailability) {
|
| .Set("extension_types", std::move(ListBuilder().Append("extension")))
|
| .Build());
|
| simple_feature->Parse(rule.get());
|
| - features->push_back(simple_feature.Pass());
|
| + features->push_back(std::move(simple_feature));
|
|
|
| // Rule: "legacy_packaged_app", channel stable.
|
| simple_feature.reset(CreateFeature<SimpleFeature>());
|
| @@ -256,9 +256,9 @@ TEST_F(ChromeChannelFeatureFilterTest, ComplexFeatureAvailability) {
|
| std::move(ListBuilder().Append("legacy_packaged_app")))
|
| .Build();
|
| simple_feature->Parse(rule.get());
|
| - features->push_back(simple_feature.Pass());
|
| + features->push_back(std::move(simple_feature));
|
|
|
| - scoped_ptr<ComplexFeature> feature(new ComplexFeature(features.Pass()));
|
| + scoped_ptr<ComplexFeature> feature(new ComplexFeature(std::move(features)));
|
|
|
| // Test match 1st rule.
|
| {
|
|
|