Index: components/subresource_filter/core/browser/subresource_filter_features_test_support.cc |
diff --git a/components/subresource_filter/core/browser/subresource_filter_features_test_support.cc b/components/subresource_filter/core/browser/subresource_filter_features_test_support.cc |
index 657e89cde0fe72b989096727ec985b111473ea30..16b8354e0e7379f7a7215f2c88c0130604324050 100644 |
--- a/components/subresource_filter/core/browser/subresource_filter_features_test_support.cc |
+++ b/components/subresource_filter/core/browser/subresource_filter_features_test_support.cc |
@@ -8,6 +8,7 @@ |
#include <memory> |
#include "base/metrics/field_trial.h" |
+#include "base/metrics/field_trial_params.h" |
#include "components/subresource_filter/core/browser/subresource_filter_features.h" |
#include "components/variations/variations_associated_data.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -41,7 +42,7 @@ ScopedSubresourceFilterFeatureToggle::ScopedSubresourceFilterFeatureToggle( |
ScopedSubresourceFilterFeatureToggle::ScopedSubresourceFilterFeatureToggle( |
base::FeatureList::OverrideState feature_state, |
std::map<std::string, std::string> variation_params) { |
- EXPECT_TRUE(variations::AssociateVariationParams( |
+ EXPECT_TRUE(base::AssociateFieldTrialParams( |
kTestFieldTrialName, kTestExperimentGroupName, variation_params)); |
base::FieldTrial* field_trial = base::FieldTrialList::CreateFieldTrial( |